| Package | Description |
|---|---|
| com.authlete.common.dto |
Requests to and responses from Authlete APIs and some data structures.
|
| com.authlete.common.types |
Enum definitions and lists of pre-defined constants.
|
| Modifier and Type | Method and Description |
|---|---|
GrantType |
TokenResponse.getGrantType()
Get the grant type of the token request.
|
GrantType |
TokenCreateResponse.getGrantType()
Get the
grant type for the newly issued
access token. |
GrantType |
AccessToken.getGrantType()
Get the grant type of the access token when the access token was created.
|
GrantType |
TokenCreateRequest.getGrantType()
Get the grant type for a newly created access token.
|
GrantType[] |
Client.getGrantTypes()
Get
grant_type values that the client is declaring
that it will restrict itself to using. |
GrantType[] |
Service.getSupportedGrantTypes()
Get the supported grant types.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TokenResponse.setGrantType(GrantType grantType)
Set the grant type of the token request.
|
TokenCreateResponse |
TokenCreateResponse.setGrantType(GrantType grantType)
Set the
grant type for the newly issued
access token. |
AccessToken |
AccessToken.setGrantType(GrantType grantType)
Set the grant type of the access token when the access token was created.
|
TokenCreateRequest |
TokenCreateRequest.setGrantType(GrantType grantType)
Set the grant type for a newly created access token.
|
Client |
Client.setGrantTypes(GrantType[] grantTypes)
Set
grant_type values that the client is declaring
that it will restrict itself to using. |
Service |
Service.setSupportedGrantTypes(GrantType[] grantTypes)
Set the supported grant types.
|
| Modifier and Type | Method and Description |
|---|---|
static GrantType |
GrantType.getByValue(short value)
Find an instance of this enum by a value.
|
static GrantType |
GrantType.parse(String grantType)
Convert
String to GrantType. |
static GrantType[] |
GrantType.toArray(int bits) |
static GrantType |
GrantType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrantType[] |
GrantType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<GrantType> |
GrantType.toSet(GrantType[] array) |
static EnumSet<GrantType> |
GrantType.toSet(int bits) |
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<GrantType> |
GrantType.toSet(GrantType[] array) |
| Modifier and Type | Method and Description |
|---|---|
static int |
GrantType.toBits(EnumSet<GrantType> set) |
Copyright © 2019. All rights reserved.