Versions in this module Expand all Collapse all v0 v0.0.1 Jul 12, 2017 Changes in this version + type Auth0Manager struct + func NewAuth0Manager(domain, clientID, connection string) *Auth0Manager + func (a *Auth0Manager) Authenticate(username, password string) (bool, error) + type Authenticator interface + Authenticate func(user, pass string) (bool, error) + type AuthenticatorFunc func(string, string) (bool, error) + func NewCompositeAuthenticator(authenticators ...Authenticator) AuthenticatorFunc + func (a AuthenticatorFunc) Authenticate(user, pass string) (bool, error) + type DynamoTokenManager struct + func NewDynamoTokenManager(table string, dynamodb dynamodbiface.DynamoDBAPI) *DynamoTokenManager + func (d *DynamoTokenManager) Authenticate(user, pass string) (bool, error) + func (d *DynamoTokenManager) CreateToken(user string) (string, error) + func (d *DynamoTokenManager) DeleteToken(token string) error + type TokenManager interface + CreateToken func(user string) (string, error) + DeleteToken func(token string) error