@Immutable public final class GrantType extends Identifier
Modifier and Type | Field and Description |
---|---|
static GrantType |
AUTHORIZATION_CODE
Authorisation code.
|
static GrantType |
CLIENT_CREDENTIALS
Client credentials.
|
static GrantType |
IMPLICIT
Implicit.
|
static GrantType |
PASSWORD
Password.
|
static GrantType |
REFRESH_TOKEN
Refresh token.
|
DEFAULT_BYTE_LENGTH
Constructor and Description |
---|
GrantType(String value)
Creates a new OAuth 2.0 authorisation grant type with the specified
value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Overrides
Object.equals() . |
compareTo, getValue, hashCode, toJSONString, toString
public static final GrantType AUTHORIZATION_CODE
public static final GrantType REFRESH_TOKEN
public static final GrantType CLIENT_CREDENTIALS
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.