org.surfnet.oaaas.auth
Enum OAuth2Validator.ValidationResponse
java.lang.Object
java.lang.Enum<OAuth2Validator.ValidationResponse>
org.surfnet.oaaas.auth.OAuth2Validator.ValidationResponse
- All Implemented Interfaces:
- Serializable, Comparable<OAuth2Validator.ValidationResponse>
- Enclosing interface:
- OAuth2Validator
public static enum OAuth2Validator.ValidationResponse
- extends Enum<OAuth2Validator.ValidationResponse>
See the spec
VALID
public static final OAuth2Validator.ValidationResponse VALID
UNSUPPORTED_RESPONSE_TYPE
public static final OAuth2Validator.ValidationResponse UNSUPPORTED_RESPONSE_TYPE
UNKNOWN_CLIENT_ID
public static final OAuth2Validator.ValidationResponse UNKNOWN_CLIENT_ID
IMPLICIT_GRANT_REDIRECT_URI
public static final OAuth2Validator.ValidationResponse IMPLICIT_GRANT_REDIRECT_URI
REDIRECT_URI_REQUIRED
public static final OAuth2Validator.ValidationResponse REDIRECT_URI_REQUIRED
REDIRCT_URI_NOT_VALID
public static final OAuth2Validator.ValidationResponse REDIRCT_URI_NOT_VALID
REDIRCT_URI_NOT_URI
public static final OAuth2Validator.ValidationResponse REDIRCT_URI_NOT_URI
REDIRECT_URI_DIFFERENT
public static final OAuth2Validator.ValidationResponse REDIRECT_URI_DIFFERENT
SCOPE_NOT_VALID
public static final OAuth2Validator.ValidationResponse SCOPE_NOT_VALID
IMPLICIT_GRANT_NOT_PERMITTED
public static final OAuth2Validator.ValidationResponse IMPLICIT_GRANT_NOT_PERMITTED
CLIENT_CREDENTIALS_NOT_PERMITTED
public static final OAuth2Validator.ValidationResponse CLIENT_CREDENTIALS_NOT_PERMITTED
REDIRECT_URI_FRAGMENT_COMPONENT
public static final OAuth2Validator.ValidationResponse REDIRECT_URI_FRAGMENT_COMPONENT
UNSUPPORTED_GRANT_TYPE
public static final OAuth2Validator.ValidationResponse UNSUPPORTED_GRANT_TYPE
INVALID_GRANT_AUTHORIZATION_CODE
public static final OAuth2Validator.ValidationResponse INVALID_GRANT_AUTHORIZATION_CODE
INVALID_GRANT_REFRESH_TOKEN
public static final OAuth2Validator.ValidationResponse INVALID_GRANT_REFRESH_TOKEN
values
public static OAuth2Validator.ValidationResponse[] 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 (OAuth2Validator.ValidationResponse c : OAuth2Validator.ValidationResponse.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OAuth2Validator.ValidationResponse 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 name
NullPointerException - if the argument is null
valid
public boolean valid()
getValue
public String getValue()
getDescription
public String getDescription()
Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.