Package | Description |
---|---|
com.nimbusds.oauth2.sdk |
Classes for representing, serialising and parsing OAuth 2.0 client requests
and server responses.
|
com.nimbusds.oauth2.sdk.id |
Common OAuth 2.0 identifier and identity 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 |
---|---|
State |
AuthorizationResponse.getState()
Gets the optional state.
|
State |
AuthorizationRequest.getState()
Gets the state.
|
State |
GeneralException.getState()
Gets the optional associated state parameter.
|
Constructor and Description |
---|
AuthorizationErrorResponse(URL redirectURI,
ErrorObject error,
ResponseType rt,
State state)
Creates a new authorisation error response.
|
AuthorizationErrorResponse(URL redirectURI,
ErrorObject error,
State state)
Creates a new authorisation error response, with no specified
response type to determine the redirection URI composition.
|
AuthorizationRequest(URL uri,
ResponseType rt,
ClientID clientID,
URL redirectURI,
Scope scope,
State state)
Creates a new authorisation request.
|
AuthorizationResponse(URL redirectURI,
State state)
Creates a new authorisation response.
|
AuthorizationSuccessResponse(URL redirectURI,
AccessToken accessToken,
State state)
Creates a new authorisation success response in the implicit flow
(implicit grant).
|
AuthorizationSuccessResponse(URL redirectURI,
AuthorizationCode code,
AccessToken accessToken,
State state)
Creates a new authorisation success response.
|
AuthorizationSuccessResponse(URL redirectURI,
AuthorizationCode code,
State state)
Creates a new authorisation success response in the code flow
(authorisation code grant).
|
GeneralException(String message,
ErrorObject error,
ClientID clientID,
URL redirectURI,
State state)
Creates a new general exception.
|
GeneralException(String message,
ErrorObject error,
ClientID clientID,
URL redirectURI,
State state,
Throwable cause)
Creates a new general exception.
|
ParseException(String message,
ErrorObject error,
ClientID clientID,
URL redirectURI,
State state)
Creates a new parse exception.
|
ParseException(String message,
ErrorObject error,
ClientID clientID,
URL redirectURI,
State state,
Throwable cause)
Creates a new parse exception.
|
Modifier and Type | Method and Description |
---|---|
static State |
State.parse(String s)
Parses a state from the specified string.
|
Constructor and Description |
---|
OIDCAuthorizationErrorResponse(URL redirectURI,
ErrorObject error,
ResponseType rt,
State state)
Creates a new OpenID Connect authorisation error response.
|
OIDCAuthorizationRequest(URL uri,
ResponseType rt,
Scope scope,
ClientID clientID,
URL redirectURI,
State state,
Nonce nonce)
Creates a new minimal OpenID Connect authorisation request.
|
OIDCAuthorizationRequest(URL uri,
ResponseType rt,
Scope scope,
ClientID clientID,
URL 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)
Creates a new OpenID Connect authorisation request without a request
object.
|
OIDCAuthorizationRequest(URL uri,
ResponseType rt,
Scope scope,
ClientID clientID,
URL 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)
Creates a new OpenID Connect authorisation request with a request
object specified by value.
|
OIDCAuthorizationRequest(URL uri,
ResponseType rt,
Scope scope,
ClientID clientID,
URL 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,
URL requestURI)
Creates a new OpenID Connect authorisation request with a request
object specified by URL.
|
OIDCAuthorizationSuccessResponse(URL redirectURI,
AuthorizationCode code,
com.nimbusds.jwt.JWT idToken,
AccessToken accessToken,
State state)
Creates a new OpenID Connect authorisation success response.
|
Constructor and Description |
---|
ResolveException(String message,
ErrorObject error,
ClientID clientID,
URL redirectURI,
State state,
Throwable cause)
Creates a new resolve exception.
|
Copyright © 2013 NimbusDS. All Rights Reserved.