Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorDetails ¶
type IntrospectTokenResult ¶ added in v0.1.3
type IntrospectTokenResult struct {
Exp int `json:"exp,omitempty"`
Nbf int `json:"nbf,omitempty"`
Iat int `json:"iat,omitempty"`
Aud StringOrArray `json:"aud,omitempty"`
Active bool `json:"active,omitempty"`
AuthTime int `json:"auth_time,omitempty"`
Jti string `json:"jti,omitempty"`
Type string `json:"typ,omitempty"`
}
type StringOrArray ¶ added in v0.1.3
type StringOrArray []string
StringOrArray represents a value that can either be a string or an array of strings
type Token ¶
type Token struct {
AccessToken string `json:"access_token"`
Expires int `json:"expires_in"`
RefreshExpires int `json:"refresh_expires_in"`
RefreshToken string `json:"refresh_token"`
TokenType string `json:"token_type"`
NotBeforePolicy int `json:"not-before-policy"`
Session string `json:"session_state"`
Scope string `json:"scope"`
}
type TokenGenerationData ¶
type TokenGenerationData struct {
ClientId string `json:"client_id" schema:"client_id"`
ClientSecret string `json:"client_secret" schema:"client_secret"`
GrantType string `json:"grant_type" schema:"grant_type"`
Scope string `json:"scope" schema:"scope"`
Username string `json:"username" schema:"username"`
Password string `json:"password" schema:"password"`
}
Click to show internal directories.
Click to hide internal directories.