public class DefaultPKCEProvider extends Object implements PKCEProvider
https://developers.google.com/identity/protocols/oauth2/native-app#step1-code-verifier.
Constructor and Description |
---|
DefaultPKCEProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getCodeChallenge()
Get the code_challenge parameter used in PKCE.
|
String |
getCodeChallengeMethod()
Get the code_challenge_method parameter used in PKCE.
|
String |
getCodeVerifier()
Get the code_verifier parameter used in PKCE.
|
public String getCodeVerifier()
PKCEProvider
getCodeVerifier
in interface PKCEProvider
public String getCodeChallenge()
PKCEProvider
getCodeChallenge
in interface PKCEProvider
public String getCodeChallengeMethod()
PKCEProvider
Currently possible values are: S256,plain
getCodeChallengeMethod
in interface PKCEProvider
Copyright © 2023 Google. All rights reserved.