Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtProcessor ¶
type TokenInfo ¶
type TokenInfo struct { AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token,omitempty"` UID string `json:"uid"` GrantType string `json:"grant_type"` Scope []string `json:"scope"` Realm string `json:"realm"` ClientId string `json:"client_id"` TokenType string `json:"token_type"` ExpiresIn int `json:"expires_in"` PrivateClaims map[string]string `json:"-"` }
TokenInfo type is used to serialize a JWT validation result in a standard Token Info JSON format
Click to show internal directories.
Click to hide internal directories.