Uses of Class
com.nimbusds.oauth2.sdk.ErrorObject
-
Packages that use ErrorObject Package Description com.nimbusds.oauth2.sdk Classes for representing, serialising and parsing core OAuth 2.0 concepts.com.nimbusds.oauth2.sdk.auth.verifier Client authentication verifier framework.com.nimbusds.oauth2.sdk.ciba OpenID Connect Client Initiated Backchannel Authentication (CIBA) Flow - Core 1.0 classes.com.nimbusds.oauth2.sdk.client OAuth 2.0 dynamic client registration.com.nimbusds.oauth2.sdk.device OAuth 2.0 device authorisation grant classes.com.nimbusds.oauth2.sdk.token OAuth 2.0 access and refresh token implementations.com.nimbusds.openid.connect.sdk Classes for representing, serialising and parsing core OpenID Connect concepts.com.nimbusds.openid.connect.sdk.federation.api OpenID Connect Federation 1.0 API classes.com.nimbusds.openid.connect.sdk.federation.config OpenID Connect Federation 1.0 entity configuration request and response classes.com.nimbusds.openid.connect.sdk.federation.trust OpenID Connect Federation 1.0 trust chains and resolution.com.nimbusds.openid.connect.sdk.op OpenID Connect Provider (OP) classes.com.nimbusds.openid.connect.sdk.rp.statement Software statement processing. -
-
Uses of ErrorObject in com.nimbusds.oauth2.sdk
Fields in com.nimbusds.oauth2.sdk declared as ErrorObject Modifier and Type Field 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_DPOP_PROOF
The DPoP proof received by the authorisation server is invalid.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, or is otherwise malformed.static ErrorObject
OAuth2Error. INVALID_REQUEST_OBJECT
Therequest
parameter in theAuthorizationRequest
contains an invalid request object.static ErrorObject
OAuth2Error. INVALID_REQUEST_URI
Therequest_uri
in theAuthorizationRequest
returns an error or invalid data.static ErrorObject
OAuth2Error. INVALID_RESOURCE
The specified resource server URI is not valid or accepted by the authorisation server.static ErrorObject
OAuth2Error. INVALID_SCOPE
The requested scope is invalid, unknown, or malformed.static 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 ErrorObject
OAuth2Error. OVERBROAD_SCOPE
The scope of the request is considered overbroad by the authorisation server.static ErrorObject
OAuth2Error. REQUEST_NOT_SUPPORTED
Therequest
parameter in theAuthorizationRequest
is not supported.static ErrorObject
OAuth2Error. REQUEST_URI_NOT_SUPPORTED
Therequest_uri
parameter in theAuthorizationRequest
is not supported.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.static 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 ErrorObject Modifier and Type Method Description ErrorObject
ErrorObject. appendDescription(String text)
Appends the specified text to the error description.ErrorObject
AuthorizationErrorResponse. getErrorObject()
ErrorObject
ErrorResponse. getErrorObject()
Gets the error associated with the error response.ErrorObject
GeneralException. getErrorObject()
Gets the associated error.ErrorObject
PushedAuthorizationErrorResponse. getErrorObject()
ErrorObject
RequestObjectPOSTErrorResponse. getErrorObject()
Deprecated.ErrorObject
TokenErrorResponse. getErrorObject()
ErrorObject
TokenIntrospectionErrorResponse. getErrorObject()
static ErrorObject
ErrorObject. parse(HTTPResponse httpResponse)
Parses an error object from the specified HTTP response.static ErrorObject
ErrorObject. parse(Map<String,List<String>> params)
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
ErrorObject. setDescription(String description)
Sets the error description.ErrorObject
ErrorObject. setHTTPStatusCode(int httpStatusCode)
Sets the HTTP status code.ErrorObject
ErrorObject. setURI(URI uri)
Sets the error page URI.Methods in com.nimbusds.oauth2.sdk that return types with arguments of type ErrorObject Modifier and Type Method Description static 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 ErrorObject Constructor Description AuthorizationErrorResponse(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.PushedAuthorizationErrorResponse(ErrorObject error)
Creates a new pushed authorisation error response.TokenErrorResponse(ErrorObject error)
Creates a new OAuth 2.0 Access Token error response.TokenIntrospectionErrorResponse(ErrorObject error)
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 ErrorObject Modifier and Type Method Description ErrorObject
InvalidClientException. 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 ErrorObject Modifier and Type Field Description static ErrorObject
CIBAError. EXPIRED_LOGIN_HINT_TOKEN
Thelogin_hint_token
provided in the CIBA request is not valid because it has expired.static ErrorObject
CIBAError. EXPIRED_TOKEN
Theauth_req_id
has expired.static ErrorObject
CIBAError. INVALID_BINDING_MESSAGE
The binding message (binding_message
) is invalid or unacceptable in the given request context.static ErrorObject
CIBAError. INVALID_USER_CODE
The secretuser_code
was invalid.static ErrorObject
CIBAError. MISSING_USER_CODE
A secretuser_code
is required but was missing from the request.static ErrorObject
CIBAError. TRANSACTION_FAILED
The transaction failed due to an unexpected condition.static 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 ErrorObject Modifier and Type Method Description ErrorObject
CIBAErrorDelivery. getErrorObject()
Returns the error object.ErrorObject
CIBAErrorResponse. getErrorObject()
Methods in com.nimbusds.oauth2.sdk.ciba that return types with arguments of type ErrorObject Modifier and Type Method Description static 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 ErrorObject Constructor Description CIBAErrorDelivery(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 ErrorObject Modifier and Type Field 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 moreredirect_uris
is invalid.static ErrorObject
RegistrationError. INVALID_SOFTWARE_STATEMENT
Client registration: The software statement presented is invalid.static 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 ErrorObject Modifier and Type Method Description ErrorObject
ClientRegistrationErrorResponse. getErrorObject()
Methods in com.nimbusds.oauth2.sdk.client that return types with arguments of type ErrorObject Modifier and Type Method Description static 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 ErrorObject Constructor Description ClientRegistrationErrorResponse(ErrorObject error)
Creates a new client registration error response. -
Uses of ErrorObject in com.nimbusds.oauth2.sdk.device
Fields in com.nimbusds.oauth2.sdk.device declared as ErrorObject Modifier and Type Field Description static 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 ErrorObject
DeviceAuthorizationGrantError. EXPIRED_TOKEN
The "device_code" has expired and the device flow authorization session has concluded.static 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 ErrorObject Modifier and Type Method Description ErrorObject
DeviceAuthorizationErrorResponse. getErrorObject()
Methods in com.nimbusds.oauth2.sdk.device that return types with arguments of type ErrorObject Modifier and Type Method Description static 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 ErrorObject Constructor Description DeviceAuthorizationErrorResponse(ErrorObject error)
Creates 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.token Modifier and Type Class Description class
BearerTokenError
OAuth 2.0 bearer token error.class
DPoPTokenError
OAuth 2.0 DPoP token error.class
TokenSchemeError
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 ErrorObject Modifier and Type Field Description static ErrorObject
OIDCError. ACCOUNT_SELECTION_REQUIRED
The end-user is required to select a session at the authorisation server.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. LOGIN_REQUIRED
The authorisation server requires end-user authentication.static ErrorObject
OIDCError. REGISTRATION_NOT_SUPPORTED
Theregistration
parameter in theAuthenticationRequest
is not supported.static 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 ErrorObject Modifier and Type Method Description ErrorObject
UserInfoErrorResponse. getErrorObject()
Methods in com.nimbusds.openid.connect.sdk that return types with arguments of type ErrorObject Modifier and Type Method Description static 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 ErrorObject Constructor Description AuthenticationErrorResponse(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 Modifier and Type Class Description class
FederationAPIError
Federation API error. -
Uses of ErrorObject in com.nimbusds.openid.connect.sdk.federation.config
Methods in com.nimbusds.openid.connect.sdk.federation.config that return ErrorObject Modifier and Type Method Description ErrorObject
FederationEntityConfigurationErrorResponse. getErrorObject()
Constructors in com.nimbusds.openid.connect.sdk.federation.config with parameters of type ErrorObject Constructor Description FederationEntityConfigurationErrorResponse(ErrorObject error)
Creates 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 ErrorObject Constructor Description ResolveException(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 ErrorObject Constructor Description ResolveException(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 ErrorObject Modifier and Type Method Description ErrorObject
InvalidSoftwareStatementException. getErrorObject()
Returns the error object to return, an instance of aRegistrationError.INVALID_SOFTWARE_STATEMENT
.
-