Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidCodeVerifier = errors.New("code_verifier must be a string between 43 and 128 characters long using A-Z, a-z, 0-9, -, ., _, ~")
Functions ¶
This section is empty.
Types ¶
type CodeChallengeMethod ¶
type CodeChallengeMethod = string
const CodeChallengeMethodS256 CodeChallengeMethod = "S256"
type Verifier ¶
type Verifier struct { CodeChallengeMethod CodeChallengeMethod `json:"code_challenge_method"` CodeVerifier string `json:"code_verifier"` }
func GenerateS256Verifier ¶
func GenerateS256Verifier() *Verifier
func NewS256Verifier ¶
Click to show internal directories.
Click to hide internal directories.