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.client |
OAuth 2.0 dynamic client registration.
|
com.nimbusds.openid.connect.sdk |
Classes for representing, serialising and parsing OpenID Connect client
requests and server responses.
|
com.nimbusds.openid.connect.sdk.claims |
Claims and claim sets used in OpenID Connect.
|
Modifier and Type | Method | Description |
---|---|---|
static ResponseType |
ResponseType.getDefault() |
Gets the default response type.
|
ResponseType |
AuthorizationRequest.getResponseType() |
Gets the response type.
|
ResponseType |
AuthorizationSuccessResponse.impliedResponseType() |
Returns the implied response type.
|
static ResponseType |
ResponseType.parse(String s) |
Parses a set of authorisation response types.
|
Constructor | Description |
---|---|
AuthorizationRequest(URI uri,
ResponseType rt,
ClientID clientID) |
Creates a new minimal authorisation request.
|
AuthorizationRequest(URI uri,
ResponseType rt,
ResponseMode rm,
ClientID clientID,
URI redirectURI,
Scope scope,
State state) |
Creates a new authorisation request.
|
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.
|
AuthorizationRequest(URI uri,
ResponseType rt,
ResponseMode rm,
ClientID clientID,
URI redirectURI,
Scope scope,
State state,
CodeChallenge codeChallenge,
CodeChallengeMethod codeChallengeMethod,
Map<String,String> customParams) |
Creates a new authorisation request with PKCE support and additional
custom parameters.
|
Builder(ResponseType rt,
ClientID clientID) |
Creates a new authorisation request builder.
|
Modifier and Type | Method | Description |
---|---|---|
List<ResponseType> |
AuthorizationServerMetadata.getResponseTypes() |
Gets the supported response type values.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AuthorizationServerMetadata.setResponseTypes(List<ResponseType> rts) |
Sets the supported response type values.
|
Modifier and Type | Method | Description |
---|---|---|
Set<ResponseType> |
ClientMetadata.getResponseTypes() |
Gets the expected OAuth 2.0 response types.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ClientMetadata.setResponseTypes(Set<ResponseType> responseTypes) |
Sets the expected OAuth 2.0 response types.
|
Modifier and Type | Method | Description |
---|---|---|
ResponseType |
AuthenticationSuccessResponse.impliedResponseType() |
Modifier and Type | Method | Description |
---|---|---|
static ClaimsRequest |
ClaimsRequest.resolve(ResponseType responseType,
Scope scope) |
Resolves the claims request for the specified response type and
scope.
|
static ClaimsRequest |
ClaimsRequest.resolve(ResponseType responseType,
Scope scope,
ClaimsRequest claimsRequest) |
Resolves the merged claims request from the specified OpenID
authentication request parameters.
|
static ClaimsRequest |
ClaimsRequest.resolve(ResponseType responseType,
Scope scope,
ClaimsRequest claimsRequest,
Map<Scope.Value,Set<String>> customClaims) |
Resolves the merged claims request from the specified OpenID
authentication request parameters.
|
static ClaimsRequest |
ClaimsRequest.resolve(ResponseType responseType,
Scope scope,
Map<Scope.Value,Set<String>> customClaims) |
Resolves the claims request for the specified response type and
scope.
|
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,
com.nimbusds.jwt.JWT requestObject,
URI requestURI,
CodeChallenge codeChallenge,
CodeChallengeMethod codeChallengeMethod) |
Creates a new OpenID Connect authentication request.
|
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,
Map<String,String> customParams) |
Creates a new OpenID Connect authentication request with additional
custom parameters.
|
AuthenticationRequest(URI uri,
ResponseType rt,
Scope scope,
ClientID clientID,
URI redirectURI,
State state,
Nonce nonce) |
Creates a new minimal OpenID Connect authentication request.
|
Builder(ResponseType rt,
Scope scope,
ClientID clientID,
URI redirectURI) |
Creates a new OpenID Connect authentication request builder.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
IDTokenClaimsSet.hasRequiredClaims(ResponseType responseType) |
Deprecated.
|
boolean |
IDTokenClaimsSet.hasRequiredClaims(ResponseType responseType,
boolean iatAuthzEndpoint) |
Checks if this ID token claims set contains all required claims for
the specified OpenID Connect response type.
|
static boolean |
AccessTokenHash.isRequiredInIDTokenClaims(ResponseType responseType) |
Checks if an access token hash claim must be included in ID tokens
for the specified response type.
|
static boolean |
CodeHash.isRequiredInIDTokenClaims(ResponseType responseType) |
Checks if an authorisation code hash claim must be included in ID
tokens for the specified response type.
|
Copyright © 2018 Connect2id Ltd.. All rights reserved.