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.
|
Modifier and Type | Method and Description |
---|---|
CodeVerifier |
AuthorizationCodeGrant.getCodeVerifier()
Gets the authorisation code verifier for PKCE.
|
Modifier and Type | Method and Description |
---|---|
AuthorizationRequest.Builder |
AuthorizationRequest.Builder.codeChallenge(CodeVerifier codeVerifier,
CodeChallengeMethod codeChallengeMethod)
Sets the code challenge for Proof Key for Code Exchange
(PKCE) by public OAuth clients.
|
Constructor and Description |
---|
AuthorizationCodeGrant(AuthorizationCode code,
URI redirectURI,
CodeVerifier codeVerifier)
Creates a new authorisation code grant.
|
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(CodeVerifier codeVerifier,
CodeChallengeMethod codeChallengeMethod)
Sets the code challenge for Proof Key for Code Exchange
(PKCE) by public OAuth clients.
|
Copyright © 2017 Connect2id Ltd.. All rights reserved.