Package com.google.auth.oauth2
Interface PKCEProvider
- All Known Implementing Classes:
DefaultPKCEProvider
public interface PKCEProvider
-
Method Summary
Modifier and TypeMethodDescriptionGet the code_challenge parameter used in PKCE.Get the code_challenge_method parameter used in PKCE.Get the code_verifier parameter used in PKCE.
-
Method Details
-
getCodeChallenge
String getCodeChallenge()Get the code_challenge parameter used in PKCE.- Returns:
- The code_challenge String.
-
getCodeChallengeMethod
String getCodeChallengeMethod()Get the code_challenge_method parameter used in PKCE.Currently possible values are: S256,plain
- Returns:
- The code_challenge_method String.
-
getCodeVerifier
String getCodeVerifier()Get the code_verifier parameter used in PKCE.- Returns:
- The code_verifier String.
-