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 the User associated with the account if successful, //or nil if not. If an error occurs it is returned. Authenticate(username, password string) (user *User, err error) }
Auth represents an authentication mechanism
Click to show internal directories.
Click to hide internal directories.