@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 |
---|
Scope.Value(java.lang.String value)
Creates a new scope value.
|
Scope.Value(java.lang.String value,
Scope.Value.Requirement requirement)
Creates a new scope value with an optional requirement.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
Scope.Value.Requirement |
getRequirement()
Gets the requirement of this scope value.
|
compareTo, getValue, hashCode, toJSONString, toString
public Scope.Value(java.lang.String value)
value
- The scope value. Must not be null
or
empty string.public Scope.Value(java.lang.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(java.lang.Object object)
equals
in class Identifier
Copyright © 2016 Connect2id Ltd.. All Rights Reserved.