Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface {
// Authenticates the current user.
Authenticate(*http.Request) (Identity, error)
// Challenge generates challenges upon authentication failure.
Challenge(http.ResponseWriter)
}
Authenticator is an interface that authenticates an user.
Click to show internal directories.
Click to hide internal directories.