Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Password ¶
Password checks a username and password against a backing authentication store and returns information about the user and true if successful, false if not successful, or an error if the username and password could not be checked
type PasswordFunc ¶
PasswordFunc is a function that implements the Password interface.
func (PasswordFunc) AuthenticatePassword ¶
AuthenticatePassword implements authenticator.Password.
type Request ¶
Request attempts to extract authentication information from a request and returns information about the current user and true if successful, false if not successful, or an error if the request could not be checked.
type RequestFunc ¶
RequestFunc is a function that implements the Request interface.
func (RequestFunc) AuthenticateRequest ¶
AuthenticateRequest implements authenticator.Request.