|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Scope.Value.Requirement> com.nimbusds.oauth2.sdk.Scope.Value.Requirement
public static enum Scope.Value.Requirement
Enumeration of the scope value requirements for application-specific authorisation requests.
Enum Constant Summary | |
---|---|
OPTIONAL
The value may be optionally included in the Scope parameter. |
|
REQUIRED
The value must be present in the Scope
parameter. |
Method Summary | |
---|---|
static Scope.Value.Requirement |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Scope.Value.Requirement[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Scope.Value.Requirement REQUIRED
Scope
parameter.
public static final Scope.Value.Requirement OPTIONAL
Scope
parameter.
Method Detail |
---|
public static Scope.Value.Requirement[] values()
for (Scope.Value.Requirement c : Scope.Value.Requirement.values()) System.out.println(c);
public static Scope.Value.Requirement valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |