Documentation ¶
Index ¶
- func NewTokenCreator(tokenTTL time.Duration, store tokencache.TokenCache, generator Generator) *tokenCreator
- func NewTokenCreatorProvider(store tokencache.TokenCache, generator Generator) *tokenCreatorProvider
- func NewTokenManager(store tokencache.TokenCache) *tokenManager
- type Creator
- type Generator
- type Manager
- type Serializer
- type TokenCreatorProvider
- type TokenGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTokenCreator ¶
func NewTokenCreator(tokenTTL time.Duration, store tokencache.TokenCache, generator Generator) *tokenCreator
func NewTokenCreatorProvider ¶
func NewTokenCreatorProvider(store tokencache.TokenCache, generator Generator) *tokenCreatorProvider
func NewTokenManager ¶
func NewTokenManager(store tokencache.TokenCache) *tokenManager
Types ¶
type Serializer ¶
type TokenCreatorProvider ¶
type TokenGenerator ¶
func NewTokenGenerator ¶
func NewTokenGenerator(tokenLength int) TokenGenerator
Click to show internal directories.
Click to hide internal directories.