Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Authorizer struct {
// contains filtered or unexported fields
}
func NewAuthorizer ¶
func NewAuthorizer(config Config) Authorizer
func (Authorizer) CreateTokens ¶
func (a Authorizer) CreateTokens(username string) (Tokens, error)
func (Authorizer) ValidateAndUpdate ¶
func (a Authorizer) ValidateAndUpdate(token string) (Tokens, error)
Click to show internal directories.
Click to hide internal directories.