Class Pkce
java.lang.Object
io.micronaut.security.oauth2.endpoint.authorization.pkce.Pkce
- All Implemented Interfaces:
PkceChallenge
Proof Key for Code Exchange.
- See Also:
-
Constructor Details
-
Pkce
-
-
Method Details
-
getCodeChallengeMethod
- Specified by:
getCodeChallengeMethod
in interfacePkceChallenge
- Returns:
- A method that was used to derive code challenge.
- See Also:
-
getCodeChallenge
- Specified by:
getCodeChallenge
in interfacePkceChallenge
- Returns:
- A challenge derived from the code verifier that is sent in the authorization request, to be verified against later.
-
getCodeVerifier
- Returns:
- A cryptographically random string that is used to correlate the authorization request to the token request.
-