Package be.personify.util.oauth
Enum AuthorizeError
- java.lang.Object
-
- java.lang.Enum<AuthorizeError>
-
- be.personify.util.oauth.AuthorizeError
-
- All Implemented Interfaces:
Serializable,Comparable<AuthorizeError>
public enum AuthorizeError extends Enum<AuthorizeError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description access_deniedinvalid_requestinvalid_scopeserver_errortemporarily_unavailableunauthorized_clientunsupported_response_type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()static AuthorizeErrorvalueOf(String name)Returns the enum constant of this type with the specified name.static AuthorizeError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
invalid_request
public static final AuthorizeError invalid_request
-
unauthorized_client
public static final AuthorizeError unauthorized_client
-
access_denied
public static final AuthorizeError access_denied
-
unsupported_response_type
public static final AuthorizeError unsupported_response_type
-
invalid_scope
public static final AuthorizeError invalid_scope
-
server_error
public static final AuthorizeError server_error
-
temporarily_unavailable
public static final AuthorizeError temporarily_unavailable
-
-
Method Detail
-
values
public static AuthorizeError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AuthorizeError c : AuthorizeError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthorizeError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getDescription
public String getDescription()
-
-