Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Metadata ¶
type Metadata struct { StaySignedIn bool Credentials Credentials }
func (Metadata) ToMapClaims ¶
func (opts Metadata) ToMapClaims() jwt.MapClaims
type TokenGenerator ¶
type TokenGenerator struct {
// contains filtered or unexported fields
}
func NewTokenGenerator ¶
func NewTokenGenerator(accessSecret string) *TokenGenerator
func (*TokenGenerator) ExtractAccessTokenMetadata ¶
func (g *TokenGenerator) ExtractAccessTokenMetadata(token string) (*Metadata, error)
Click to show internal directories.
Click to hide internal directories.