Package | Description |
---|---|
com.nimbusds.oauth2.sdk |
Classes for representing, serialising and parsing OAuth 2.0 client requests
and authorisation server responses.
|
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 | Field and Description |
---|---|
static ResponseMode |
ResponseMode.FORM_POST
The authorisation response parameters are encoded as HTML form
values that are auto-submitted in the User Agent, and thus are
transmitted via the HTTP POST method to the client, with the result
parameters being encoded in the body using the
application/x-www-form-urlencoded format. |
static ResponseMode |
ResponseMode.FRAGMENT
The authorisation response parameters are encoded in the fragment
added to the
redirect_uri when redirecting back to the
client. |
static ResponseMode |
ResponseMode.QUERY
The authorisation response parameters are encoded in the query
string added to the
redirect_uri when redirecting back to
the client. |
Modifier and Type | Method and Description |
---|---|
ResponseMode |
AuthorizationResponse.getResponseMode()
Returns the optional explicit response mode.
|
ResponseMode |
GeneralException.getResponseMode()
Gets the associated response mode.
|
ResponseMode |
AuthorizationRequest.getResponseMode()
Gets the optional response mode.
|
ResponseMode |
AuthorizationSuccessResponse.impliedResponseMode() |
abstract ResponseMode |
AuthorizationResponse.impliedResponseMode()
Determines the implied response mode.
|
ResponseMode |
AuthorizationErrorResponse.impliedResponseMode() |
ResponseMode |
AuthorizationRequest.impliedResponseMode()
Returns the implied response mode, determined by the optional
response_mode parameter, and if that isn't specified, by
the response_type . |
Modifier and Type | Method and Description |
---|---|
AuthorizationRequest.Builder |
AuthorizationRequest.Builder.responseMode(ResponseMode rm)
Sets the response mode.
|
Constructor and Description |
---|
AuthorizationErrorResponse(URI redirectURI,
ErrorObject error,
State state,
ResponseMode rm)
Creates a new authorisation error response.
|
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.
|
AuthorizationResponse(URI redirectURI,
State state,
ResponseMode rm)
Creates a new authorisation response.
|
AuthorizationSuccessResponse(URI redirectURI,
AuthorizationCode code,
AccessToken accessToken,
State state,
ResponseMode rm)
Creates a new authorisation success response.
|
GeneralException(String message,
ErrorObject error,
ClientID clientID,
URI redirectURI,
ResponseMode responseMode,
State state)
Creates a new general exception.
|
GeneralException(String message,
ErrorObject error,
ClientID clientID,
URI redirectURI,
ResponseMode responseMode,
State state,
Throwable cause)
Creates a new general exception.
|
ParseException(String message,
ErrorObject error,
ClientID clientID,
URI redirectURI,
ResponseMode responseMode,
State state)
Creates a new parse exception.
|
ParseException(String message,
ErrorObject error,
ClientID clientID,
URI redirectURI,
ResponseMode responseMode,
State state,
Throwable cause)
Creates a new parse exception.
|
Modifier and Type | Method and Description |
---|---|
ResponseMode |
AuthenticationSuccessResponse.impliedResponseMode() |
Modifier and Type | Method and Description |
---|---|
AuthenticationRequest.Builder |
AuthenticationRequest.Builder.responseMode(ResponseMode rm)
Sets the response mode.
|
Constructor and Description |
---|
AuthenticationErrorResponse(URI redirectURI,
ErrorObject error,
State state,
ResponseMode rm)
Creates a new OpenID Connect authentication error response.
|
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.
|
AuthenticationSuccessResponse(URI redirectURI,
AuthorizationCode code,
com.nimbusds.jwt.JWT idToken,
AccessToken accessToken,
State state,
State sessionState,
ResponseMode rm)
Creates a new OpenID Connect authentication success response.
|
Modifier and Type | Method and Description |
---|---|
List<ResponseMode> |
OIDCProviderMetadata.getResponseModes()
Gets the supported response mode values.
|
Modifier and Type | Method and Description |
---|---|
void |
OIDCProviderMetadata.setResponseModes(List<ResponseMode> rms)
Sets the supported response mode values.
|
Copyright © 2016 Connect2id Ltd.. All rights reserved.