Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticatorCatcher ¶
type AuthenticatorCatcher interface {
Catch() connect.UnaryInterceptorFunc
}
AuthenticatorCatcher interface
type Interceptor ¶
type Interceptor struct {
// contains filtered or unexported fields
}
Interceptor is the authentication catcher interceptor
func NewInterceptor ¶
func NewInterceptor(options *Options) *Interceptor
NewInterceptor creates a new authentication catcher interceptor
Parameters:
- options: the options for the interceptor
Returns:
- *Interceptor: the authentication catcher interceptor
func (Interceptor) Catch ¶
func (i Interceptor) Catch() connect.UnaryInterceptorFunc
Catch is the unary interceptor that catches the issued tokens from the context and sets them in the response metadata and cookies
Click to show internal directories.
Click to hide internal directories.