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.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.
|
com.nimbusds.openid.connect.sdk.op |
OpenID Connect Provider (OP) classes.
|
Modifier and Type | Method and Description |
---|---|
CodeChallengeMethod |
AuthorizationRequest.getCodeChallengeMethod()
Returns the code challenge method for PKCE.
|
Modifier and Type | Method and Description |
---|---|
AuthorizationRequest.Builder |
AuthorizationRequest.Builder.codeChallenge(CodeChallenge codeChallenge,
CodeChallengeMethod codeChallengeMethod)
Sets the code challenge for Proof Key for Code Exchange
(PKCE) by public OAuth clients.
|
Constructor and Description |
---|
AuthorizationRequest(URI uri,
ResponseType rt,
ResponseMode rm,
ClientID clientID,
URI redirectURI,
Scope scope,
State state,
CodeChallenge codeChallenge,
CodeChallengeMethod codeChallengeMethod)
Creates a new authorisation request with PKCE support.
|
Modifier and Type | Field and Description |
---|---|
static CodeChallengeMethod |
CodeChallengeMethod.PLAIN
Plain code challenge method.
|
static CodeChallengeMethod |
CodeChallengeMethod.S256
SHA-256 code challenge method.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static CodeChallenge |
CodeChallenge.compute(CodeChallengeMethod method,
CodeVerifier codeVerifier)
Computes the code challenge using the specified method and verifier.
|
Modifier and Type | Method and Description |
---|---|
AuthenticationRequest.Builder |
AuthenticationRequest.Builder.codeChallenge(CodeChallenge codeChallenge,
CodeChallengeMethod codeChallengeMethod)
Sets the code challenge for Proof Key for Code Exchange
(PKCE) by public OAuth clients.
|
Constructor and 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,
com.nimbusds.jwt.JWT requestObject,
URI requestURI,
CodeChallenge codeChallenge,
CodeChallengeMethod codeChallengeMethod)
Creates a new OpenID Connect authentication request.
|
Modifier and Type | Method and Description |
---|---|
List<CodeChallengeMethod> |
OIDCProviderMetadata.getCodeChallengeMethods()
Gets the supported authorisation code challenge methods for PKCE.
|
Modifier and Type | Method and Description |
---|---|
void |
OIDCProviderMetadata.setCodeChallengeMethods(List<CodeChallengeMethod> codeChallengeMethods)
Gets the supported authorisation code challenge methods for PKCE.
|
Copyright © 2016 Connect2id Ltd.. All Rights Reserved.