@Deprecated public class JwkException extends OAuth2Exception
ACCESS_DENIED, DESCRIPTION, ERROR, INSUFFICIENT_SCOPE, INVALID_CLIENT, INVALID_GRANT, INVALID_REQUEST, INVALID_SCOPE, INVALID_TOKEN, REDIRECT_URI_MISMATCH, UNAUTHORIZED_CLIENT, UNSUPPORTED_GRANT_TYPE, UNSUPPORTED_RESPONSE_TYPE, URI| Constructor and Description |
|---|
JwkException(String message)
Deprecated.
|
JwkException(String message,
Throwable cause)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHttpErrorCode()
Deprecated.
Returns the Http Status used in the OAuth2 Error Response
sent back to the caller.
|
String |
getOAuth2ErrorCode()
Deprecated.
Returns the
error used in the OAuth2 Error Response
sent back to the caller. |
addAdditionalInformation, create, getAdditionalInformation, getSummary, toString, valueOfaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic JwkException(String message)
public String getOAuth2ErrorCode()
error used in the OAuth2 Error Response
sent back to the caller. The default is "server_error".getOAuth2ErrorCode in class OAuth2Exceptionerror used in the OAuth2 Error Responsepublic int getHttpErrorCode()
getHttpErrorCode in class OAuth2ExceptionHttp Status set on the OAuth2 Error ResponseCopyright © 2021. All rights reserved.