Documentation
¶
Index ¶
Constants ¶
View Source
const ( ParamCodeVerifier = "code_verifier" ParamCodeChallenge = "code_challenge" ParamCodeChallengeMethod = "code_challenge_method" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChallengeMethod ¶
type ChallengeMethod string
const ( ChallengeMethodPlain ChallengeMethod = "plain" ChallengeMethodS256 ChallengeMethod = "S256" )
type CodeVerifier ¶
type CodeVerifier struct {
Verifier string
Method ChallengeMethod
}
func NewCodeVerifier ¶
func NewCodeVerifier() (*CodeVerifier, error)
func (*CodeVerifier) CodeChallengeOptions ¶
func (c *CodeVerifier) CodeChallengeOptions() []oauth2.AuthCodeOption
func (*CodeVerifier) VerifierOptions ¶
func (c *CodeVerifier) VerifierOptions() []oauth2.AuthCodeOption
Click to show internal directories.
Click to hide internal directories.