Documentation
¶
Index ¶
Constants ¶
View Source
const ( // URL query params used in the OAuth flow // Shared in a parent module so both clients and servers can use them QueryParamCallback = "callback" QueryParamLongLived = "long-lived" QueryParamAuth0Connection = "connection" // PKCE-style challenge that opts a login into the handoff code exchange QueryParamCodeChallenge = "code_challenge" QueryParamCodeChallengeMethod = "code_challenge_method" // Callback parameter that carries the handoff code QueryParamHandoff = "handoff" // Callback parameter that carries the session token in the legacy flow QueryParamLegacyToken = "t" // Post-login redirect inside a callback URL QueryParamReturnTo = "returnTo" CodeChallengeMethodS256 = "S256" )
Variables ¶
This section is empty.
Functions ¶
func ValidS256Challenge ¶ added in v1.124.0
ValidS256Challenge tells if the value has the shape of a S256 challenge
func VerifyS256 ¶ added in v1.124.0
VerifyS256 tells, in constant time, if the verifier matches the S256 challenge
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.