@Immutable public static class Scope.Value extends Identifier
| Modifier and Type | Class and Description |
|---|---|
static class |
Scope.Value.Requirement
Enumeration of the scope value requirements for
application-specific authorisation requests.
|
DEFAULT_BYTE_LENGTH| Constructor and Description |
|---|
Value(String value)
Creates a new scope value.
|
Value(String value,
Scope.Value.Requirement requirement)
Creates a new scope value with an optional requirement.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Scope.Value.Requirement |
getRequirement()
Gets the requirement of this scope value.
|
compareTo, getValue, hashCode, toJSONString, toStringpublic Value(String value)
value - The scope value. Must not be null or
empty string.public 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.public Scope.Value.Requirement getRequirement()
null if not specified.public boolean equals(Object object)
equals in class IdentifierCopyright © 2017 Connect2id Ltd.. All rights reserved.