Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface {
Authenticate(ctx context.Context, user, password string, opts ...Option) (id string, ok bool)
}
Authenticator is an interface for user authentication.
func AuthenticatorGroup ¶
func AuthenticatorGroup(authers ...Authenticator) Authenticator
Click to show internal directories.
Click to hide internal directories.