Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth0Manager ¶
type Auth0Manager struct {
// contains filtered or unexported fields
}
func NewAuth0Manager ¶
func NewAuth0Manager(domain, clientID, connection string) *Auth0Manager
func (*Auth0Manager) Authenticate ¶
func (a *Auth0Manager) Authenticate(username, password string) (bool, error)
type Authenticator ¶
type AuthenticatorFunc ¶
func NewCompositeAuthenticator ¶
func NewCompositeAuthenticator(authenticators ...Authenticator) AuthenticatorFunc
func (AuthenticatorFunc) Authenticate ¶
func (a AuthenticatorFunc) Authenticate(user, pass string) (bool, error)
type DynamoTokenManager ¶
type DynamoTokenManager struct {
// contains filtered or unexported fields
}
func NewDynamoTokenManager ¶
func NewDynamoTokenManager(table string, dynamodb dynamodbiface.DynamoDBAPI) *DynamoTokenManager
func (*DynamoTokenManager) Authenticate ¶
func (d *DynamoTokenManager) Authenticate(user, pass string) (bool, error)
func (*DynamoTokenManager) CreateToken ¶
func (d *DynamoTokenManager) CreateToken(user string) (string, error)
func (*DynamoTokenManager) DeleteToken ¶
func (d *DynamoTokenManager) DeleteToken(token string) error
Click to show internal directories.
Click to hide internal directories.