Uses of Class
com.nimbusds.oauth2.sdk.pkce.CodeChallengeMethod
Packages that use CodeChallengeMethod
Package
Description
Classes for representing, serialising and parsing core OAuth 2.0 concepts.
OAuth 2.0 Authorisation Server (AS) classes.
Proof Key for Code Exchange (PKCE) classes.
Classes for representing, serialising and parsing core OpenID Connect
concepts.
-
Uses of CodeChallengeMethod in com.nimbusds.oauth2.sdk
Methods in com.nimbusds.oauth2.sdk that return CodeChallengeMethodModifier and TypeMethodDescriptionAuthorizationRequest.getCodeChallengeMethod()
Returns the code challenge method for PKCE.Methods in com.nimbusds.oauth2.sdk with parameters of type CodeChallengeMethodModifier and TypeMethodDescriptionAuthorizationRequest.Builder.codeChallenge
(CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod) Deprecated.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 CodeChallengeMethodModifierConstructorDescriptionAuthorizationRequest
(URI uri, ResponseType rt, ResponseMode rm, ClientID clientID, URI redirectURI, Scope scope, State state, CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod, List<AuthorizationDetail> authorizationDetails, List<URI> resources, boolean includeGrantedScopes, com.nimbusds.jwt.JWT requestObject, URI requestURI, Prompt prompt, JWKThumbprintConfirmation dpopJKT, TrustChain trustChain, Map<String, List<String>> customParams) Creates a new authorisation request with extension and custom parameters.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, JWKThumbprintConfirmation dpopJKT, TrustChain trustChain, Map<String, List<String>> customParams) Deprecated.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, JWKThumbprintConfirmation dpopJKT, Map<String, List<String>> customParams) Deprecated.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) Deprecated. -
Uses of CodeChallengeMethod in com.nimbusds.oauth2.sdk.as
Methods in com.nimbusds.oauth2.sdk.as that return types with arguments of type CodeChallengeMethodModifier and TypeMethodDescriptionAuthorizationServerMetadata.getCodeChallengeMethods()
ReadOnlyAuthorizationServerMetadata.getCodeChallengeMethods()
Gets the supported authorisation code challenge methods for PKCE.Method parameters in com.nimbusds.oauth2.sdk.as with type arguments of type CodeChallengeMethodModifier and TypeMethodDescriptionvoid
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 CodeChallengeMethodModifier and TypeFieldDescriptionstatic final CodeChallengeMethod
CodeChallengeMethod.PLAIN
Plain code challenge method.static final CodeChallengeMethod
CodeChallengeMethod.S256
SHA-256 code challenge method.Methods in com.nimbusds.oauth2.sdk.pkce that return CodeChallengeMethodModifier and TypeMethodDescriptionstatic CodeChallengeMethod
CodeChallengeMethod.getDefault()
Gets the default code challenge method.static CodeChallengeMethod
Parses a code challenge method from the specified value.Methods in com.nimbusds.oauth2.sdk.pkce with parameters of type CodeChallengeMethodModifier and TypeMethodDescriptionstatic 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 CodeChallengeMethodModifier and TypeMethodDescriptionAuthenticationRequest.Builder.codeChallenge
(CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod) Deprecated.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 CodeChallengeMethodModifierConstructorDescriptionAuthenticationRequest
(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) Deprecated.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, OIDCClaimsRequest claims, String purpose, com.nimbusds.jwt.JWT requestObject, URI requestURI, CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod, List<URI> resources, boolean includeGrantedScopes, Map<String, List<String>> customParams) Deprecated.AuthenticationRequest
(URI uri, ResponseType rt, ResponseMode rm, Scope scope, ClientID clientID, URI redirectURI, State state, Nonce nonce, Display display, Prompt prompt, JWKThumbprintConfirmation dpopJKT, int maxAge, List<com.nimbusds.langtag.LangTag> uiLocales, List<com.nimbusds.langtag.LangTag> claimsLocales, com.nimbusds.jwt.JWT idTokenHint, String loginHint, List<ACR> acrValues, OIDCClaimsRequest claims, String purpose, com.nimbusds.jwt.JWT requestObject, URI requestURI, CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod, List<URI> resources, boolean includeGrantedScopes, Map<String, List<String>> customParams) Deprecated.AuthenticationRequest
(URI uri, ResponseType rt, ResponseMode rm, Scope scope, ClientID clientID, URI redirectURI, State state, Nonce nonce, Display display, Prompt prompt, JWKThumbprintConfirmation dpopJKT, TrustChain trustChain, int maxAge, List<com.nimbusds.langtag.LangTag> uiLocales, List<com.nimbusds.langtag.LangTag> claimsLocales, com.nimbusds.jwt.JWT idTokenHint, String loginHint, List<ACR> acrValues, OIDCClaimsRequest claims, String purpose, com.nimbusds.jwt.JWT requestObject, URI requestURI, CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod, List<AuthorizationDetail> authorizationDetails, List<URI> resources, boolean includeGrantedScopes, Map<String, List<String>> customParams) Creates a new OpenID Connect authentication request with extension and custom parameters.AuthenticationRequest
(URI uri, ResponseType rt, ResponseMode rm, Scope scope, ClientID clientID, URI redirectURI, State state, Nonce nonce, Display display, Prompt prompt, JWKThumbprintConfirmation dpopJKT, TrustChain trustChain, int maxAge, List<com.nimbusds.langtag.LangTag> uiLocales, List<com.nimbusds.langtag.LangTag> claimsLocales, com.nimbusds.jwt.JWT idTokenHint, String loginHint, List<ACR> acrValues, OIDCClaimsRequest claims, String purpose, com.nimbusds.jwt.JWT requestObject, URI requestURI, CodeChallenge codeChallenge, CodeChallengeMethod codeChallengeMethod, List<URI> resources, boolean includeGrantedScopes, Map<String, List<String>> customParams) Deprecated.