Uses of Class
com.nimbusds.oauth2.sdk.ErrorObject
Packages that use ErrorObject
Package
Description
Classes for representing, serialising and parsing core OAuth 2.0 concepts.
Client authentication verifier framework.
OpenID Connect Client Initiated Backchannel Authentication (CIBA) Flow -
Core 1.0 classes.
OAuth 2.0 dynamic client registration.
OAuth 2.0 device authorisation grant classes.
OAuth 2.0 access and refresh token implementations.
Classes for representing, serialising and parsing core OpenID Connect
concepts.
OpenID Connect Federation 1.0 API classes.
OpenID Connect Federation 1.0 entity configuration request and response
classes.
OpenID Connect Federation 1.0 trust chains and resolution.
OpenID Connect Provider (OP) classes.
Software statement processing.
-
Uses of ErrorObject in com.nimbusds.oauth2.sdk
Fields in com.nimbusds.oauth2.sdk declared as ErrorObjectModifier and TypeFieldDescriptionstatic final ErrorObject
OAuth2Error.ACCESS_DENIED
The resource owner or authorisation server denied the request.static final ErrorObject
OAuth2Error.INVALID_CLIENT
Client authentication failed (e.g.static final ErrorObject
OAuth2Error.INVALID_DPOP_PROOF
The DPoP proof received by the authorisation server is invalid.static final ErrorObject
OAuth2Error.INVALID_GRANT
The provided authorisation grant (e.g.static final ErrorObject
OAuth2Error.INVALID_REQUEST
The request is missing a required parameter, includes an invalid parameter, or is otherwise malformed.static final ErrorObject
OAuth2Error.INVALID_REQUEST_OBJECT
Therequest
parameter in theAuthorizationRequest
contains an invalid request object.static final ErrorObject
OAuth2Error.INVALID_REQUEST_URI
Therequest_uri
in theAuthorizationRequest
returns an error or invalid data.static final ErrorObject
OAuth2Error.INVALID_RESOURCE
Deprecated.static final ErrorObject
OAuth2Error.INVALID_SCOPE
The requested scope is invalid, unknown, or malformed.static final ErrorObject
OAuth2Error.INVALID_TARGET
The specified resource server URI is not valid or accepted by the authorisation server.static final ErrorObject
OAuth2Error.MISSING_TRUST_ANCHOR
No trusted anchor could be found to process an OpenID Connect Federation 1.0 authorisation request using automatic client registration.static final ErrorObject
OAuth2Error.OVERBROAD_SCOPE
The scope of the request is considered overbroad by the authorisation server.static final ErrorObject
OAuth2Error.REQUEST_NOT_SUPPORTED
Therequest
parameter in theAuthorizationRequest
is not supported.static final ErrorObject
OAuth2Error.REQUEST_URI_NOT_SUPPORTED
Therequest_uri
parameter in theAuthorizationRequest
is not supported.static final ErrorObject
OAuth2Error.SERVER_ERROR
The authorisation server encountered an unexpected condition which prevented it from fulfilling the request.static final 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 final ErrorObject
OAuth2Error.UNAUTHORIZED_CLIENT
The client is not authorised to request an authorisation code using this method.static final ErrorObject
OAuth2Error.UNSUPPORTED_GRANT_TYPE
The authorisation grant type is not supported by the authorisation server.static final ErrorObject
OAuth2Error.UNSUPPORTED_RESPONSE_TYPE
The authorisation server does not support obtaining an authorisation code using this method.static final ErrorObject
OAuth2Error.USE_DPOP_NONCE
Use of DPoP nonce required.static final ErrorObject
OAuth2Error.VALIDATION_FAILED
The trust chain validation for an OpenID Connect Federation 1.0 authorisation request using automatic client registration failed.Methods in com.nimbusds.oauth2.sdk that return ErrorObjectModifier and TypeMethodDescriptionErrorObject.appendDescription
(String text) Appends the specified text to the error description.AuthorizationErrorResponse.getErrorObject()
ErrorResponse.getErrorObject()
Gets the error associated with the error response.GeneralException.getErrorObject()
Gets the associated error.PushedAuthorizationErrorResponse.getErrorObject()
RequestObjectPOSTErrorResponse.getErrorObject()
Deprecated.TokenErrorResponse.getErrorObject()
TokenIntrospectionErrorResponse.getErrorObject()
static ErrorObject
ErrorObject.parse
(HTTPResponse httpResponse) Parses an error object from the specified HTTP response.static ErrorObject
Parses an error object from the specified parameters representation.static ErrorObject
ErrorObject.parse
(net.minidev.json.JSONObject jsonObject) Parses an error object from the specified JSON object.ErrorObject.setCustomParams
(Map<String, String> customParams) Sets the custom parameters.ErrorObject.setDescription
(String description) Sets the error description.ErrorObject.setHTTPStatusCode
(int httpStatusCode) Sets the HTTP status code.Sets the error page URI.Methods in com.nimbusds.oauth2.sdk that return types with arguments of type ErrorObjectModifier and TypeMethodDescriptionstatic Set<ErrorObject>
AuthorizationErrorResponse.getStandardErrors()
Gets the standard OAuth 2.0 errors for an Authorisation error response.static Set<ErrorObject>
TokenErrorResponse.getStandardErrors()
Gets the standard OAuth 2.0 errors for an Access Token error response.static Set<ErrorObject>
TokenIntrospectionErrorResponse.getStandardErrors()
Gets the standard errors for a token introspection error response.Constructors in com.nimbusds.oauth2.sdk with parameters of type ErrorObjectModifierConstructorDescriptionAuthorizationErrorResponse
(URI redirectURI, ErrorObject error, State state, Issuer issuer, ResponseMode rm) Creates a new authorisation error response.AuthorizationErrorResponse
(URI redirectURI, ErrorObject error, State state, ResponseMode rm) Creates a new authorisation error response.GeneralException
(ErrorObject error) Creates a new general exception.GeneralException
(String message, ErrorObject error) Creates a new general exception.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.GeneralException
(String message, ErrorObject error, Throwable cause) Creates a new general exception.ParseException
(String message, ErrorObject error) Creates a new parse 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.ParseException
(String message, ErrorObject error, Throwable cause) Creates a new parse exception.Creates a new pushed authorisation error response.TokenErrorResponse
(ErrorObject error) Creates a new OAuth 2.0 Access Token error response.Creates a new token introspection error response. -
Uses of ErrorObject in com.nimbusds.oauth2.sdk.auth.verifier
Methods in com.nimbusds.oauth2.sdk.auth.verifier that return ErrorObjectModifier and TypeMethodDescriptionInvalidClientException.getErrorObject()
Returns an OAuth 2.0 error object representation. -
Uses of ErrorObject in com.nimbusds.oauth2.sdk.ciba
Fields in com.nimbusds.oauth2.sdk.ciba declared as ErrorObjectModifier and TypeFieldDescriptionstatic final ErrorObject
CIBAError.EXPIRED_LOGIN_HINT_TOKEN
Thelogin_hint_token
provided in the CIBA request is not valid because it has expired.static final ErrorObject
CIBAError.EXPIRED_TOKEN
Theauth_req_id
has expired.static final ErrorObject
CIBAError.INVALID_BINDING_MESSAGE
The binding message (binding_message
) is invalid or unacceptable in the given request context.static final ErrorObject
CIBAError.INVALID_USER_CODE
The secretuser_code
was invalid.static final ErrorObject
CIBAError.MISSING_USER_CODE
A secretuser_code
is required but was missing from the request.static final ErrorObject
CIBAError.TRANSACTION_FAILED
The transaction failed due to an unexpected condition.static final ErrorObject
CIBAError.UNKNOWN_USER_ID
The OpenID provider / OAuth 2.0 authorisation server is not able to identify the end-user by means of thelogin_hint_token
,id_token_hint
orlogin_hint
in the provided in the request.Methods in com.nimbusds.oauth2.sdk.ciba that return ErrorObjectModifier and TypeMethodDescriptionCIBAErrorDelivery.getErrorObject()
Returns the error object.CIBAErrorResponse.getErrorObject()
Methods in com.nimbusds.oauth2.sdk.ciba that return types with arguments of type ErrorObjectModifier and TypeMethodDescriptionstatic Set<ErrorObject>
CIBAErrorDelivery.getStandardErrors()
Gets the standard OAuth 2.0 errors for a CIBA error delivery.static Set<ErrorObject>
CIBAErrorResponse.getStandardErrors()
Gets the standard OAuth 2.0 errors for a CIBA error response.Constructors in com.nimbusds.oauth2.sdk.ciba with parameters of type ErrorObjectModifierConstructorDescriptionCIBAErrorDelivery
(URI endpoint, BearerAccessToken accessToken, AuthRequestID authRequestID, ErrorObject errorObject) Creates a new CIBA error push delivery.CIBAErrorResponse
(ErrorObject error) Creates a new CIBA error response. -
Uses of ErrorObject in com.nimbusds.oauth2.sdk.client
Fields in com.nimbusds.oauth2.sdk.client declared as ErrorObjectModifier and TypeFieldDescriptionstatic final 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 final ErrorObject
RegistrationError.INVALID_REDIRECT_URI
Client registration: The value of one or moreredirect_uris
is invalid.static final ErrorObject
RegistrationError.INVALID_SOFTWARE_STATEMENT
Client registration: The software statement presented is invalid.static final ErrorObject
RegistrationError.UNAPPROVED_SOFTWARE_STATEMENT
Client registration: The software statement presented is not approved for use by this authorisation server.Methods in com.nimbusds.oauth2.sdk.client that return ErrorObjectMethods in com.nimbusds.oauth2.sdk.client that return types with arguments of type ErrorObjectModifier and TypeMethodDescriptionstatic Set<ErrorObject>
ClientRegistrationErrorResponse.getStandardErrors()
Gets the standard errors for a client registration error response.Constructors in com.nimbusds.oauth2.sdk.client with parameters of type ErrorObjectModifierConstructorDescriptionCreates a new client registration error response. -
Uses of ErrorObject in com.nimbusds.oauth2.sdk.device
Fields in com.nimbusds.oauth2.sdk.device declared as ErrorObjectModifier and TypeFieldDescriptionstatic final ErrorObject
DeviceAuthorizationGrantError.AUTHORIZATION_PENDING
The authorization request is still pending as the end user hasn't yet completed the user interaction steps (Section 3.3).static final ErrorObject
DeviceAuthorizationGrantError.EXPIRED_TOKEN
The "device_code" has expired and the device flow authorization session has concluded.static final ErrorObject
DeviceAuthorizationGrantError.SLOW_DOWN
A variant of "authorization_pending", the authorization request is still pending and polling should continue, but the interval MUST be increased by 5 seconds for this and all subsequent requests.Methods in com.nimbusds.oauth2.sdk.device that return ErrorObjectMethods in com.nimbusds.oauth2.sdk.device that return types with arguments of type ErrorObjectModifier and TypeMethodDescriptionstatic Set<ErrorObject>
DeviceAuthorizationErrorResponse.getStandardErrors()
Gets the standard OAuth 2.0 errors for a device authorization error response.Constructors in com.nimbusds.oauth2.sdk.device with parameters of type ErrorObjectModifierConstructorDescriptionCreates a new OAuth 2.0 device authorization error response. -
Uses of ErrorObject in com.nimbusds.oauth2.sdk.token
Subclasses of ErrorObject in com.nimbusds.oauth2.sdk.tokenModifier and TypeClassDescriptionclass
OAuth 2.0 bearer token error.class
OAuth 2.0 DPoP token error.class
The base abstract class for token scheme errors. -
Uses of ErrorObject in com.nimbusds.openid.connect.sdk
Fields in com.nimbusds.openid.connect.sdk declared as ErrorObjectModifier and TypeFieldDescriptionstatic final ErrorObject
OIDCError.ACCOUNT_SELECTION_REQUIRED
The end-user is required to select a session at the authorisation server.static final ErrorObject
OIDCError.CONSENT_REQUIRED
The authorisation server requires end-user consent.static final ErrorObject
OIDCError.INTERACTION_REQUIRED
The authorisation server requires end-user interaction of some form to proceed.static final ErrorObject
OIDCError.LOGIN_REQUIRED
The authorisation server requires end-user authentication.static final ErrorObject
OIDCError.REGISTRATION_NOT_SUPPORTED
Theregistration
parameter in theAuthenticationRequest
is not supported.static final ErrorObject
OIDCError.UNMET_AUTHENTICATION_REQUIREMENTS
The OpenID provider is unable to authenticate the end-user at the required Authentication Context Class Reference value when requested with an essentialacr
claim.Methods in com.nimbusds.openid.connect.sdk that return ErrorObjectMethods in com.nimbusds.openid.connect.sdk that return types with arguments of type ErrorObjectModifier and TypeMethodDescriptionstatic Set<ErrorObject>
AuthenticationErrorResponse.getStandardErrors()
Gets the standard errors for an OpenID Connect authentication error response.Constructors in com.nimbusds.openid.connect.sdk with parameters of type ErrorObjectModifierConstructorDescriptionAuthenticationErrorResponse
(URI redirectURI, ErrorObject error, State state, Issuer issuer, ResponseMode rm) Creates a new OpenID Connect authentication error response.AuthenticationErrorResponse
(URI redirectURI, ErrorObject error, State state, ResponseMode rm) Creates a new OpenID Connect authentication error response.UserInfoErrorResponse
(ErrorObject error) Creates a new UserInfo error response indicating a general error. -
Uses of ErrorObject in com.nimbusds.openid.connect.sdk.federation.api
Subclasses of ErrorObject in com.nimbusds.openid.connect.sdk.federation.api -
Uses of ErrorObject in com.nimbusds.openid.connect.sdk.federation.config
Methods in com.nimbusds.openid.connect.sdk.federation.config that return ErrorObjectConstructors in com.nimbusds.openid.connect.sdk.federation.config with parameters of type ErrorObjectModifierConstructorDescriptionCreates a new federation entity configuration error response. -
Uses of ErrorObject in com.nimbusds.openid.connect.sdk.federation.trust
Constructors in com.nimbusds.openid.connect.sdk.federation.trust with parameters of type ErrorObjectModifierConstructorDescriptionResolveException
(String message, ErrorObject errorObject) Creates a new resolve exception. -
Uses of ErrorObject in com.nimbusds.openid.connect.sdk.op
Constructors in com.nimbusds.openid.connect.sdk.op with parameters of type ErrorObjectModifierConstructorDescriptionResolveException
(ErrorObject error, AuthenticationRequest authRequest) Creates a new resolve exception. -
Uses of ErrorObject in com.nimbusds.openid.connect.sdk.rp.statement
Methods in com.nimbusds.openid.connect.sdk.rp.statement that return ErrorObjectModifier and TypeMethodDescriptionInvalidSoftwareStatementException.getErrorObject()
Returns the error object to return, an instance of aRegistrationError.INVALID_SOFTWARE_STATEMENT
.