Package | Description |
---|---|
com.nimbusds.oauth2.sdk |
Classes for representing, serialising and parsing OAuth 2.0 client requests
and server responses.
|
com.nimbusds.oauth2.sdk.client |
OAuth 2.0 dynamic client registration.
|
com.nimbusds.oauth2.sdk.token |
OAuth 2.0 access and refresh token implementations.
|
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 ErrorObject |
OAuth2Error.ACCESS_DENIED
The resource owner or authorisation server denied the request.
|
static ErrorObject |
OAuth2Error.INVALID_CLIENT
Client authentication failed (e.g.
|
static ErrorObject |
OAuth2Error.INVALID_GRANT
The provided authorisation grant (e.g.
|
static ErrorObject |
OAuth2Error.INVALID_REQUEST
The request is missing a required parameter, includes an invalid
parameter code, or is otherwise malformed.
|
static ErrorObject |
OAuth2Error.INVALID_SCOPE
The requested scope is invalid, unknown, or malformed.
|
static ErrorObject |
OAuth2Error.SERVER_ERROR
The authorisation server encountered an unexpected condition which
prevented it from fulfilling the request.
|
static ErrorObject |
OAuth2Error.TEMPORARILY_UNAVAILABLE
The authorisation server is currently unable to handle the request
due to a temporary overloading or maintenance of the server.
|
static ErrorObject |
OAuth2Error.UNAUTHORIZED_CLIENT
The client is not authorised to request an authorisation code using
this method.
|
static ErrorObject |
OAuth2Error.UNSUPPORTED_GRANT_TYPE
The authorisation grant type is not supported by the authorisation
server.
|
static ErrorObject |
OAuth2Error.UNSUPPORTED_RESPONSE_TYPE
The authorisation server does not support obtaining an authorisation
code using this method.
|
Modifier and Type | Method and Description |
---|---|
ErrorObject |
ErrorObject.appendDescription(String text)
Appends the specified text to the error description.
|
ErrorObject |
ErrorResponse.getErrorObject()
Gets the error associated with the error response.
|
ErrorObject |
TokenErrorResponse.getErrorObject() |
ErrorObject |
GeneralException.getErrorObject()
Gets the associated error.
|
ErrorObject |
AuthorizationErrorResponse.getErrorObject() |
ErrorObject |
ErrorObject.setDescription(String description)
Sets the error description.
|
ErrorObject |
ErrorObject.setHTTPStatusCode(int httpStatusCode)
Sets the HTTP status code.
|
ErrorObject |
ErrorObject.setURI(URL uri)
Sets the error page URI.
|
Modifier and Type | Method and Description |
---|---|
static Set<ErrorObject> |
TokenErrorResponse.getStandardErrors()
Gets the standard OAuth 2.0 errors for an Access Token error
response.
|
static Set<ErrorObject> |
AuthorizationErrorResponse.getStandardErrors()
Gets the standard OAuth 2.0 errors for an Authorisation error
response.
|
Constructor and Description |
---|
AuthorizationErrorResponse(URL redirectURI,
ErrorObject error,
ResponseType rt,
State state)
Creates a new authorisation error response.
|
GeneralException(String message,
ErrorObject error,
Throwable cause)
Creates a new general exception.
|
GeneralException(String message,
ErrorObject error,
URL redirectURI,
State state)
Creates a new general exception.
|
GeneralException(String message,
ErrorObject error,
URL redirectURI,
State state,
Throwable cause)
Creates a new general exception.
|
ParseException(String message,
ErrorObject error)
Creates a new parse exception.
|
ParseException(String message,
ErrorObject error,
Throwable cause)
Creates a new parse exception.
|
ParseException(String message,
ErrorObject error,
URL redirectURI,
State state)
Creates a new parse exception.
|
ParseException(String message,
ErrorObject error,
URL redirectURI,
State state,
Throwable cause)
Creates a new parse exception.
|
TokenErrorResponse(ErrorObject error)
Creates a new OAuth 2.0 Access Token error response.
|
Modifier and Type | Field and Description |
---|---|
static ErrorObject |
RegistrationError.INVALID_CLIENT_METADATA
Client registration: The value of one of the client meta data fields
is invalid and the server has rejected this request.
|
static ErrorObject |
RegistrationError.INVALID_REDIRECT_URI
Client registration: The value of one or more
redirect_uris
is invalid. |
Modifier and Type | Method and Description |
---|---|
ErrorObject |
ClientRegistrationErrorResponse.getErrorObject() |
Modifier and Type | Method and Description |
---|---|
static Set<ErrorObject> |
ClientRegistrationErrorResponse.getStandardErrors()
Gets the standard errors for a client registration error response.
|
Constructor and Description |
---|
ClientRegistrationErrorResponse(ErrorObject error)
Creates a new client registration error response.
|
Modifier and Type | Class and Description |
---|---|
class |
BearerTokenError
OAuth 2.0 bearer token error.
|
Modifier and Type | Field and Description |
---|---|
static ErrorObject |
OIDCError.CONSENT_REQUIRED
The authorisation server requires end-user consent.
|
static ErrorObject |
OIDCError.INTERACTION_REQUIRED
The authorisation server requires end-user interaction of some form
to proceed.
|
static ErrorObject |
OIDCError.INVALID_REQUEST_OBJECT
The
request parameter in the OIDCAuthorizationRequest
contains an invalid OpenID Connect request object. |
static ErrorObject |
OIDCError.INVALID_REQUEST_URI
The
request_uri in the OIDCAuthorizationRequest
returns an error or invalid data. |
static ErrorObject |
OIDCError.LOGIN_REQUIRED
The authorisation server requires end-user authentication.
|
static ErrorObject |
OIDCError.REGISTRATION_NOT_SUPPORTED
The
registration parameter in the
OIDCAuthorizationRequest is not supported. |
static ErrorObject |
OIDCError.REQUEST_NOT_SUPPORTED
The
request parameter in the
OIDCAuthorizationRequest is not supported. |
static ErrorObject |
OIDCError.REQUEST_URI_NOT_SUPPORTED
The
request_uri parameter in the
OIDCAuthorizationRequest is not supported. |
static ErrorObject |
OIDCError.SESSION_SELECTION_REQUIRED
The end-user is required to select a session at the authorisation
server.
|
Modifier and Type | Method and Description |
---|---|
ErrorObject |
UserInfoErrorResponse.getErrorObject() |
Modifier and Type | Method and Description |
---|---|
static Set<ErrorObject> |
OIDCAuthorizationErrorResponse.getStandardErrors()
Gets the standard errors for an OpenID Connect Authorisation error
response.
|
Constructor and Description |
---|
OIDCAuthorizationErrorResponse(URL redirectURI,
ErrorObject error,
ResponseType rt,
State state)
Creates a new OpenID Connect authorisation error response.
|
Constructor and Description |
---|
ResolveException(String message,
ErrorObject error,
Throwable cause)
Creates a new resolve exception.
|
ResolveException(String message,
ErrorObject error,
URL redirectURI,
State state,
Throwable cause)
Creates a new resolve exception.
|
Copyright © 2013 NimbusDS. All Rights Reserved.