Class DefaultPKCEProvider (1.20.0)

publicclass DefaultPKCEProviderimplementsPKCEProvider

Inheritance

java.lang.Object > DefaultPKCEProvider

Implements

PKCEProvider

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.