|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nimbusds.oauth2.sdk.id.Identifier
com.nimbusds.oauth2.sdk.Scope.Value
@Immutable public static class Scope.Value
Authorisation scope value. This class is immutable.
Nested Class Summary | |
---|---|
static class |
Scope.Value.Requirement
Enumeration of the scope value requirements for application-specific authorisation requests. |
Constructor Summary | |
---|---|
Scope.Value(String value)
Creates a new scope value. |
|
Scope.Value(String value,
Scope.Value.Requirement requirement)
Creates a new scope value with an optional requirement. |
Method Summary | |
---|---|
boolean |
equals(Object object)
Overrides Object.equals() . |
Scope.Value.Requirement |
getRequirement()
Gets the requirement of this scope value. |
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier |
---|
getValue, hashCode, toJSONString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Scope.Value(String value)
value
- The scope value. Must not be null
or
empty string.public Scope.Value(String value, Scope.Value.Requirement requirement)
value
- The scope value. Must not be null
or empty string.requirement
- The requirement, null
if not
specified.Method Detail |
---|
public Scope.Value.Requirement getRequirement()
null
if not specified.public boolean equals(Object object)
Identifier
Object.equals()
.
equals
in class Identifier
object
- The object to compare to.
true
if the objects have the same value, otherwise
false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |