Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth interface {
//Authenticate authenticates the given credentials and returns a Session initialized with the user's data
//if the credentials are valid, or nil if not. If an error occurs it is returned.
Authenticate(username, password string) (session.Session, error)
}
Auth represents an authentication mechanism
Click to show internal directories.
Click to hide internal directories.