Uses of Class
com.nimbusds.oauth2.sdk.pkce.CodeChallengeMethod
-
Packages that use CodeChallengeMethod Package Description com.nimbusds.oauth2.sdk Classes for representing, serialising and parsing OAuth 2.0 client requests and authorisation server responses.com.nimbusds.oauth2.sdk.as OAuth 2.0 Authorisation Server (AS) classes.com.nimbusds.oauth2.sdk.pkce Proof Key for Code Exchange (PKCE) classes.com.nimbusds.openid.connect.sdk Classes for representing, serialising and parsing OpenID Connect client requests and server responses. -
-
Uses of CodeChallengeMethod in com.nimbusds.oauth2.sdk
Methods in com.nimbusds.oauth2.sdk that return CodeChallengeMethod Modifier and Type Method Description CodeChallengeMethod
AuthorizationRequest. getCodeChallengeMethod()
Returns the code challenge method for PKCE.Methods in com.nimbusds.oauth2.sdk with parameters of type CodeChallengeMethod Modifier and Type Method Description AuthorizationRequest.Builder
AuthorizationRequest.Builder. codeChallenge(CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod)
Deprecated.AuthorizationRequest.Builder
AuthorizationRequest.Builder. codeChallenge(CodeVerifier codeVerifier, CodeChallengeMethod codeChallengeMethod)
Sets the code challenge for Proof Key for Code Exchange (PKCE) by public OAuth clients.Constructors in com.nimbusds.oauth2.sdk with parameters of type CodeChallengeMethod Constructor Description AuthorizationRequest(URI uri, ResponseType rt, ResponseMode rm, ClientID clientID, URI redirectURI, Scope scope, State state, CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod, List<URI> resources, boolean includeGrantedScopes, com.nimbusds.jwt.JWT requestObject, URI requestURI, Prompt prompt, Map<String,List<String>> customParams)
Creates a new authorisation request with extension and custom parameters. -
Uses of CodeChallengeMethod in com.nimbusds.oauth2.sdk.as
Methods in com.nimbusds.oauth2.sdk.as that return types with arguments of type CodeChallengeMethod Modifier and Type Method Description List<CodeChallengeMethod>
AuthorizationServerMetadata. getCodeChallengeMethods()
Gets the supported authorisation code challenge methods for PKCE.Method parameters in com.nimbusds.oauth2.sdk.as with type arguments of type CodeChallengeMethod Modifier and Type Method Description void
AuthorizationServerMetadata. setCodeChallengeMethods(List<CodeChallengeMethod> codeChallengeMethods)
Gets the supported authorisation code challenge methods for PKCE. -
Uses of CodeChallengeMethod in com.nimbusds.oauth2.sdk.pkce
Fields in com.nimbusds.oauth2.sdk.pkce declared as CodeChallengeMethod Modifier and Type Field Description static CodeChallengeMethod
CodeChallengeMethod. PLAIN
Plain code challenge method.static CodeChallengeMethod
CodeChallengeMethod. S256
SHA-256 code challenge method.Methods in com.nimbusds.oauth2.sdk.pkce that return CodeChallengeMethod Modifier and Type Method Description static CodeChallengeMethod
CodeChallengeMethod. getDefault()
Gets the default code challenge method.static CodeChallengeMethod
CodeChallengeMethod. parse(String value)
Parses a code challenge method from the specified value.Methods in com.nimbusds.oauth2.sdk.pkce with parameters of type CodeChallengeMethod Modifier and Type Method Description static CodeChallenge
CodeChallenge. compute(CodeChallengeMethod method, CodeVerifier codeVerifier)
Computes the code challenge using the specified method and verifier. -
Uses of CodeChallengeMethod in com.nimbusds.openid.connect.sdk
Methods in com.nimbusds.openid.connect.sdk with parameters of type CodeChallengeMethod Modifier and Type Method Description AuthenticationRequest.Builder
AuthenticationRequest.Builder. codeChallenge(CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod)
Deprecated.AuthenticationRequest.Builder
AuthenticationRequest.Builder. codeChallenge(CodeVerifier codeVerifier, CodeChallengeMethod codeChallengeMethod)
Sets the code challenge for Proof Key for Code Exchange (PKCE) by public OAuth clients.Constructors in com.nimbusds.openid.connect.sdk with parameters of type CodeChallengeMethod Constructor Description AuthenticationRequest(URI uri, ResponseType rt, ResponseMode rm, Scope scope, ClientID clientID, URI redirectURI, State state, Nonce nonce, Display display, Prompt prompt, int maxAge, List<com.nimbusds.langtag.LangTag> uiLocales, List<com.nimbusds.langtag.LangTag> claimsLocales, com.nimbusds.jwt.JWT idTokenHint, String loginHint, List<ACR> acrValues, ClaimsRequest claims, String purpose, com.nimbusds.jwt.JWT requestObject, URI requestURI, CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod, List<URI> resources, boolean includeGrantedScopes, Map<String,List<String>> customParams)
Creates a new OpenID Connect authentication request with extension and custom parameters.
-