Documentation
¶
Index ¶
- type HMACProvisioner
- type StandardClaimsWithScopes
- type Token
- func (t Token) GetComment() string
- func (t Token) GetCreatedAt() time.Time
- func (t Token) GetExchangeBy() time.Time
- func (t Token) GetExchanged() bool
- func (t Token) GetExpiry() time.Time
- func (t Token) GetLastUsedAt() time.Time
- func (t Token) GetLifetime() time.Duration
- func (t Token) GetName() string
- func (t Token) GetNonce() string
- func (t Token) GetScopes() []string
- func (t Token) GetTokenID() string
- func (t Token) GetUserID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HMACProvisioner ¶
type HMACProvisioner struct {
// contains filtered or unexported fields
}
func NewProvisioner ¶
func NewProvisioner(_ context.Context, password string) *HMACProvisioner
type StandardClaimsWithScopes ¶
type StandardClaimsWithScopes struct { jwt.StandardClaims Scopes []string `json:"scopes,omitempty"` }
type Token ¶
type Token StandardClaimsWithScopes
func (Token) GetComment ¶
func (Token) GetCreatedAt ¶
func (Token) GetExchangeBy ¶
func (Token) GetExchanged ¶
func (Token) GetLastUsedAt ¶
func (Token) GetLifetime ¶
func (Token) GetTokenID ¶
Click to show internal directories.
Click to hide internal directories.