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