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) |
JwkException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
int |
getHttpErrorCode()
Returns the Http Status used in the OAuth2 Error Response
sent back to the caller.
|
String |
getOAuth2ErrorCode()
Returns the
error used in the OAuth2 Error Response
sent back to the caller. |
addAdditionalInformation, create, getAdditionalInformation, getSummary, toString, valueOf
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public 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 OAuth2Exception
error
used in the OAuth2 Error Responsepublic int getHttpErrorCode()
getHttpErrorCode
in class OAuth2Exception
Http Status
set on the OAuth2 Error ResponseCopyright © 2019. All rights reserved.