Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAuthFailed = fmt.Errorf("Authentcation failed!")
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type UsernamePassword ¶
type UsernamePassword struct{}
func NewUsernamePasswordAuth ¶
func NewUsernamePasswordAuth() *UsernamePassword
func (UsernamePassword) Authenticate ¶
func (up UsernamePassword) Authenticate(username Username, password Password) (*User, error)
Click to show internal directories.
Click to hide internal directories.