@Immutable public static final class ResponseType.Value extends Identifier
Modifier and Type | Field and Description |
---|---|
static ResponseType.Value |
CODE
Authorisation code.
|
static ResponseType.Value |
TOKEN
Access token, with optional refresh token.
|
DEFAULT_BYTE_LENGTH
Constructor and Description |
---|
ResponseType.Value(String value)
Creates a new response type value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Overrides
Object.equals() . |
compareTo, getValue, hashCode, toJSONString, toString
public static final ResponseType.Value CODE
public static final ResponseType.Value TOKEN
public ResponseType.Value(String value)
value
- The response type value. Must not be
null
or empty string.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
.Copyright © 2014 NimbusDS. All Rights Reserved.