Package com.stytch.sdk.common
Class PKCECodePair
-
- All Implemented Interfaces:
public final class PKCECodePairA data class representing the most recent PKCE code pair generated on this device. You may find this useful if you use a hybrid (frontend and backend) authentication flow, where you need to complete a PKCE flow on the backend
-
-
Field Summary
Fields Modifier and Type Field Description private final StringcodeChallengeprivate final StringcodeVerifierprivate final Stringmethod
-
Constructor Summary
Constructors Constructor Description PKCECodePair(String codeChallenge, String codeVerifier, String method)
-
Method Summary
Modifier and Type Method Description final StringgetCodeChallenge()the challenge that was generated final StringgetCodeVerifier()the verifier of the challenge final StringgetMethod()a string identifying the encryption method used. -
-
Method Detail
-
getCodeChallenge
final String getCodeChallenge()
the challenge that was generated
-
getCodeVerifier
final String getCodeVerifier()
the verifier of the challenge
-
-
-
-