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 witherror_description
anderror_uri
details exposed in theHTTP 401 Unauthorized
error response.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExposedInvalidClientException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.nimbusds.oauth2.sdk.ErrorObject
getErrorObject()
-
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 Detail
-
ExposedInvalidClientException
public ExposedInvalidClientException(String message, String errorDescription)
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
public ExposedInvalidClientException(String message, String errorDescription, URI errorURI)
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 Detail
-
getErrorObject
public com.nimbusds.oauth2.sdk.ErrorObject getErrorObject()
- Overrides:
getErrorObject
in classcom.nimbusds.oauth2.sdk.auth.verifier.InvalidClientException
-
-