@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(). |
getValue, hashCode, toJSONString, toStringpublic static final GrantType AUTHORIZATION_CODE
public static final GrantType REFRESH_TOKEN
public static final GrantType CLIENT_CREDENTIALS
public boolean equals(Object object)
IdentifierObject.equals().equals in class Identifierobject - The object to compare to.true if the objects have the same value, otherwise
false.Copyright © 2013 NimbusDS. All Rights Reserved.