Class ExposedInvalidClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nimbusds.oauth2.sdk.GeneralException
com.nimbusds.oauth2.sdk.auth.verifier.InvalidClientException
com.nimbusds.openid.connect.provider.spi.clientauth.ExposedInvalidClientException
- All Implemented Interfaces:
Serializable
public class ExposedInvalidClientException
extends com.nimbusds.oauth2.sdk.auth.verifier.InvalidClientException
InvalidClientException with
error_description
and
error_uri
details exposed in the HTTP 401 Unauthorized
error
response.- See Also:
-
Field Summary
Fields inherited from class com.nimbusds.oauth2.sdk.auth.verifier.InvalidClientException
BAD_ID, BAD_JWT_HMAC, BAD_JWT_SIGNATURE, BAD_SECRET, BAD_SELF_SIGNED_CLIENT_CERTIFICATE, EXPIRED_SECRET, NO_MATCHING_JWK, NO_REGISTERED_JWK_SET, NO_REGISTERED_SECRET, NOT_REGISTERED_FOR_AUTH_METHOD
-
Constructor Summary
ConstructorDescriptionExposedInvalidClientException
(String message, String errorDescription) Creates a new exposed invalid client exception.ExposedInvalidClientException
(String message, String errorDescription, URI errorURI) Creates a new exposed invalid client exception. -
Method Summary
Methods inherited from class com.nimbusds.oauth2.sdk.GeneralException
getClientID, getRedirectionURI, getResponseMode, getState
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExposedInvalidClientException
Creates a new exposed invalid client exception.- Parameters:
message
- The exception message (will be logged by the Connect2id server and not exposed in the HTTP 401 Unauthorized error response),null
if not specified.errorDescription
- Theerror_description
to return in the HTTP 401 Unauthorized response,null
if not specified.
-
ExposedInvalidClientException
Creates a new exposed invalid client exception.- Parameters:
message
- The exception message (will be logged by the Connect2id server and not exposed in the HTTP 401 Unauthorized error response),null
if not specified.errorDescription
- Theerror_description
to return in the HTTP 401 Unauthorized response,null
if not specified.errorURI
- Theerror_uri
to return in the HTTP 401 Unauthorized response,null
if not specified.
-
-
Method Details
-
getErrorObject
- Overrides:
getErrorObject
in classcom.nimbusds.oauth2.sdk.auth.verifier.InvalidClientException
-