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 |
---|---|
TokenType |
TokenResponse.getActorTokenType()
Get the value of the
actor_token_type request parameter. |
TokenType |
TokenResponse.getRequestedTokenType()
Get the value of the
requested_token_type request parameter. |
TokenType |
TokenResponse.getSubjectTokenType()
Get the value of the
subject_token_type request parameter. |
Modifier and Type | Method and Description |
---|---|
void |
TokenResponse.setActorTokenType(TokenType tokenType)
Set the value of the
actor_token_type request parameter. |
void |
TokenResponse.setRequestedTokenType(TokenType tokenType)
Set the value of the
requested_token_type request parameter. |
void |
TokenResponse.setSubjectTokenType(TokenType tokenType)
Set the value of the
subject_token_type request parameter. |
Modifier and Type | Method and Description |
---|---|
static TokenType |
TokenType.getByValue(short value)
Find an instance of this enum by a value.
|
static TokenType |
TokenType.parse(String tokenType)
Convert
String to TokenType . |
static TokenType[] |
TokenType.toArray(int bits) |
static TokenType |
TokenType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenType[] |
TokenType.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<TokenType> |
TokenType.toSet(int bits) |
static EnumSet<TokenType> |
TokenType.toSet(TokenType[] array) |
Modifier and Type | Method and Description |
---|---|
static EnumSet<TokenType> |
TokenType.toSet(TokenType[] array) |
Modifier and Type | Method and Description |
---|---|
static int |
TokenType.toBits(EnumSet<TokenType> set) |
Copyright © 2023. All rights reserved.