Package com.github.scribejava.core.pkce
Class PKCE
- java.lang.Object
-
- com.github.scribejava.core.pkce.PKCE
-
public class PKCE extends Object
Used to hold code_challenge, code_challenge_method and code_verifier for https://tools.ietf.org/html/rfc7636
-
-
Field Summary
Fields Modifier and Type Field Description static String
PKCE_CODE_CHALLENGE_METHOD_PARAM
static String
PKCE_CODE_CHALLENGE_PARAM
static String
PKCE_CODE_VERIFIER_PARAM
-
Constructor Summary
Constructors Constructor Description PKCE()
-
Method Summary
Modifier and Type Method Description Map<String,String>
getAuthorizationUrlParams()
String
getCodeChallenge()
PKCECodeChallengeMethod
getCodeChallengeMethod()
String
getCodeVerifier()
void
setCodeChallenge(String codeChallenge)
void
setCodeChallengeMethod(PKCECodeChallengeMethod codeChallengeMethod)
void
setCodeVerifier(String codeVerifier)
-
-
-
Field Detail
-
PKCE_CODE_CHALLENGE_METHOD_PARAM
public static final String PKCE_CODE_CHALLENGE_METHOD_PARAM
- See Also:
- Constant Field Values
-
PKCE_CODE_CHALLENGE_PARAM
public static final String PKCE_CODE_CHALLENGE_PARAM
- See Also:
- Constant Field Values
-
PKCE_CODE_VERIFIER_PARAM
public static final String PKCE_CODE_VERIFIER_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCodeChallenge
public String getCodeChallenge()
-
setCodeChallenge
public void setCodeChallenge(String codeChallenge)
-
getCodeChallengeMethod
public PKCECodeChallengeMethod getCodeChallengeMethod()
-
setCodeChallengeMethod
public void setCodeChallengeMethod(PKCECodeChallengeMethod codeChallengeMethod)
-
getCodeVerifier
public String getCodeVerifier()
-
setCodeVerifier
public void setCodeVerifier(String codeVerifier)
-
-