public class DefaultPKCEProvider implements PKCEProviderImplements PKCE using only the Java standard library. See https://www.rfc-editor.org/rfc/rfc7636.
https://developers.google.com/identity/protocols/oauth2/native-app#step1-code-verifier.
Implements
PKCEProviderConstructors
DefaultPKCEProvider()
public DefaultPKCEProvider()Methods
getCodeChallenge()
public String getCodeChallenge()Get the code_challenge parameter used in PKCE.
| Returns | |
|---|---|
| Type | Description |
String |
|
getCodeChallengeMethod()
public String getCodeChallengeMethod()Get the code_challenge_method parameter used in PKCE.
Currently possible values are: S256,plain
| Returns | |
|---|---|
| Type | Description |
String |
|
getCodeVerifier()
public String getCodeVerifier()Get the code_verifier parameter used in PKCE.
| Returns | |
|---|---|
| Type | Description |
String |
|