Class DefaultPKCEProvider (1.20.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass DefaultPKCEProviderimplementsPKCEProviderImplements 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
PKCEProviderInherited Members
Constructors
DefaultPKCEProvider()
publicDefaultPKCEProvider()Methods
getCodeChallenge()
publicStringgetCodeChallenge()Get the code_challenge parameter used in PKCE.
| Returns | |
|---|---|
| Type | Description |
String |
|
getCodeChallengeMethod()
publicStringgetCodeChallengeMethod()Get the code_challenge_method parameter used in PKCE.
Currently possible values are: S256,plain
| Returns | |
|---|---|
| Type | Description |
String |
|
getCodeVerifier()
publicStringgetCodeVerifier()Get the code_verifier parameter used in PKCE.
| Returns | |
|---|---|
| Type | Description |
String |
|