Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct {
ClientId string `json:"client_id"`
RedirectUri string `json:"redirect_uri"`
Scope string `json:"scope"`
GrantType string `json:"grant_type"`
Code string `json:"code"`
CodeVerifier string `json:"code_verifier"`
RefreshToken string `json:"refresh_token"`
}
func (*Params) FillRequest ¶
FillRequest transfers values from this to the token request.
type Parser ¶
type Parser struct {
ClientAuthenticator client.Authenticator
}
Parser parses the incoming http request to an OAuth token request. It also authenticates the request.
type Request ¶
type Request struct {
Id string
Client *client.Client
GrantType oidc.GrantType
RedirectUri oidc.RedirectUri
Scopes map[oidc.Scope]struct{}
Code string
CodeVerifier string
RefreshToken string
}
Request is the request on token endpoint
Click to show internal directories.
Click to hide internal directories.