Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenRequest ¶
type AccessTokenRequest struct {
Issuer string `json:"oidc_issuer,omitempty"`
GrantType model.GrantType `json:"grant_type"`
SuperToken token.Token `json:"super_token"`
Scope string `json:"scope,omitempty"`
Audience string `json:"audience,omitempty"`
Comment string `json:"comment,omitempty"`
}
AccessTokenRequest holds an request for an access token
type AccessTokenResponse ¶
type AccessTokenResponse struct {
AccessToken string `json:"access_token"`
TokenType string `json:"token_type"`
ExpiresIn int64 `json:"expires_in"`
Scope string `json:"scope,omitempty"`
Audiences []string `json:"audience,omitempty"`
}
AccessTokenResponse is the response to a access token request
Click to show internal directories.
Click to hide internal directories.