Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAuthenticationFailed = errors.New("authentication failed")
)
Functions ¶
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func NewAuthenticator ¶
func NewAuthenticator(options ...AuthenticatorOption) *Authenticator
func (Authenticator) Authenticate ¶
type AuthenticatorOption ¶
type AuthenticatorOption func(*Authenticator)
AuthOption defines a interceptor middleware configuration option
func WithUserProvider ¶
func WithUserProvider(getter UserProvider) AuthenticatorOption
Click to show internal directories.
Click to hide internal directories.