Documentation
¶
Overview ¶
Package createoauthcode is the consent of the OAuth page: the password checked, an authorization code for the client.
Index ¶
Constants ¶
const Lifetime = time.Minute
Lifetime is how long a code waits for its exchange: the client exchanges it at once.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Input ¶
type Input struct {
Name string // required when Multi, see createsession.CheckPassword
Password string
Multi bool
ClientID string
RedirectURI string
CodeChallenge string // S256 of the client's verifier
ReadOnly bool
}
Input is the consent of the OAuth page: the name and password, and what the client asked.