Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Claims ¶
type Claims struct {
Email string `json:"email,omitempty"`
UserID int `json:"user_id,omitempty"`
Username string `json:"username,omitempty"`
FirstName string `json:"first_name,omitempty"`
LastName string `json:"last_name,omitempty"`
AccountName string `json:"account_name,omitempty"`
AccountId int `json:"account_id,omitempty"`
Scope string `json:"scope,omitempty"`
Cognito string `json:"cognito,omitempty"`
VerifiedEmail bool `json:"verified_email,omitempty"`
Nonce string `json:"nonce,omitempty"`
AtHash string `json:"at_hash,omitempty"`
Data interface{} `json:"dat,omitempty"`
jwt.RegisteredClaims
}
Claims represents JWT claim
func (*Claims) VerifyAudience ¶ added in v0.17.0
type TokenOption ¶ added in v0.16.0
Click to show internal directories.
Click to hide internal directories.