public static enum OAuth2AuthorizationException.Error extends Enum<OAuth2AuthorizationException.Error>
| Enum Constant and Description |
|---|
INVALID_CLIENT |
INVALID_GRANT |
INVALID_REQUEST |
INVALID_SCOPE |
OTHER |
UNAUTHORIZED_CLIENT |
UNSUPPORTED_GRANT_TYPE |
| Modifier and Type | Method and Description |
|---|---|
static OAuth2AuthorizationException.Error |
getErrorEnum(String inError) |
static OAuth2AuthorizationException.Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2AuthorizationException.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2AuthorizationException.Error INVALID_REQUEST
public static final OAuth2AuthorizationException.Error INVALID_CLIENT
public static final OAuth2AuthorizationException.Error INVALID_GRANT
public static final OAuth2AuthorizationException.Error UNAUTHORIZED_CLIENT
public static final OAuth2AuthorizationException.Error UNSUPPORTED_GRANT_TYPE
public static final OAuth2AuthorizationException.Error INVALID_SCOPE
public static final OAuth2AuthorizationException.Error OTHER
public static OAuth2AuthorizationException.Error[] values()
for (OAuth2AuthorizationException.Error c : OAuth2AuthorizationException.Error.values()) System.out.println(c);
public static OAuth2AuthorizationException.Error 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 static OAuth2AuthorizationException.Error getErrorEnum(String inError)
Copyright © 2014 JBoss by Red Hat. All rights reserved.