public static enum RequestProcessingException.ErrorType extends Enum<RequestProcessingException.ErrorType>
| Enum Constant and Description |
|---|
ACCESS_DENIED
The resource owner or authorization server denied the request.
|
INVALID_CLIENT
Client authentication failed (e.g.
|
INVALID_CLIENT_ID
client identifier is missing or invalid
|
INVALID_GRANT
The provided authorization grant (e.g.
|
INVALID_REDIRECTION_URI
missing, invalid, or mismatching redirection URI
|
INVALID_REQUEST
The request is missing a required parameter, includes an invalid parameter
value, includes a parameter more than once, or is otherwise malformed.
|
INVALID_SCOPE
The requested scope is invalid, unknown, or malformed.
|
RATE_LIMIT_EXCEEDED
Requests that utilize the resource owner's password MUST be protected
against brute force attacks.
|
SERVER_ERROR
The authorization server encountered an unexpected condition which
prevented it from fulfilling the request.
|
TEMPORARILY_UNAVAILABLE
The authorization server is currently unable to handle the request due to
a temporary overloading or maintenance of the server.
|
UNAUTHORIZED_CLIENT
The client is not authorized to request an authorization code using this
method, or the authenticated client is not authorized to use this
authorization grant type.
|
UNSUPPORTED_GRANT_TYPE
The authorization grant type is not supported by the authorization server.
|
UNSUPPORTED_RESPONSE_TYPE
The authorization server does not support obtaining an authorization code
using this method.
|
| Modifier and Type | Method and Description |
|---|---|
static RequestProcessingException.ErrorType |
findByParameterName(String parameterName) |
String |
getErrorCode() |
boolean |
isDoRedirect() |
static RequestProcessingException.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestProcessingException.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestProcessingException.ErrorType INVALID_REDIRECTION_URI
public static final RequestProcessingException.ErrorType INVALID_CLIENT_ID
public static final RequestProcessingException.ErrorType INVALID_CLIENT
public static final RequestProcessingException.ErrorType INVALID_GRANT
public static final RequestProcessingException.ErrorType INVALID_REQUEST
public static final RequestProcessingException.ErrorType UNAUTHORIZED_CLIENT
public static final RequestProcessingException.ErrorType ACCESS_DENIED
public static final RequestProcessingException.ErrorType UNSUPPORTED_RESPONSE_TYPE
public static final RequestProcessingException.ErrorType UNSUPPORTED_GRANT_TYPE
public static final RequestProcessingException.ErrorType INVALID_SCOPE
public static final RequestProcessingException.ErrorType TEMPORARILY_UNAVAILABLE
public static final RequestProcessingException.ErrorType SERVER_ERROR
public static final RequestProcessingException.ErrorType RATE_LIMIT_EXCEEDED
public static RequestProcessingException.ErrorType[] values()
for (RequestProcessingException.ErrorType c : RequestProcessingException.ErrorType.values()) System.out.println(c);
public static RequestProcessingException.ErrorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getErrorCode()
public boolean isDoRedirect()
public static RequestProcessingException.ErrorType findByParameterName(String parameterName)
Copyright © 2023 MuleSoft, Inc.. All rights reserved.