Serializable
public class InvalidClientException extends GeneralException
Modifier and Type | Field | Description |
---|---|---|
static InvalidClientException |
BAD_ID |
Bad
client_id . |
static InvalidClientException |
BAD_JWT_HMAC |
Bad JWT HMAC.
|
static InvalidClientException |
BAD_JWT_SIGNATURE |
Bad JWT signature.
|
static InvalidClientException |
BAD_SECRET |
Bad
client_secret . |
static InvalidClientException |
BAD_SELF_SIGNED_CLIENT_CERTIFICATE |
Bad self-signed client X.509 certificate.
|
static InvalidClientException |
EXPIRED_SECRET |
Expired
client_secret . |
static InvalidClientException |
NO_MATCHING_JWK |
No matching public JWKs for JWT signature verification found.
|
static InvalidClientException |
NO_REGISTERED_JWK_SET |
The client has no registered JWK set.
|
static InvalidClientException |
NO_REGISTERED_SECRET |
The client has no registered
client_secret . |
static InvalidClientException |
NOT_REGISTERED_FOR_AUTH_METHOD |
The client is not registered for the requested authentication
method.
|
Constructor | Description |
---|---|
InvalidClientException(String message) |
Creates a new invalid client exception.
|
Modifier and Type | Method | Description |
---|---|---|
ErrorObject |
getErrorObject() |
Returns an OAuth 2.0 error object representation.
|
getClientID, getRedirectionURI, getResponseMode, getState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final InvalidClientException BAD_ID
client_id
.public static final InvalidClientException NOT_REGISTERED_FOR_AUTH_METHOD
public static final InvalidClientException NO_REGISTERED_SECRET
client_secret
.public static final InvalidClientException NO_REGISTERED_JWK_SET
public static final InvalidClientException EXPIRED_SECRET
client_secret
.public static final InvalidClientException BAD_SECRET
client_secret
.public static final InvalidClientException BAD_JWT_HMAC
public static final InvalidClientException NO_MATCHING_JWK
public static final InvalidClientException BAD_JWT_SIGNATURE
public static final InvalidClientException BAD_SELF_SIGNED_CLIENT_CERTIFICATE
public InvalidClientException(String message)
message
- The message. Will not be appended to the OAuth 2.0
error description to be prevent exposing details
about why authentication didn't succeed to the
client.public ErrorObject getErrorObject()
getErrorObject
in class GeneralException
OAuth2Error.INVALID_CLIENT
.Copyright © 2019 Connect2id Ltd.. All rights reserved.