Uses of Class
com.authlete.common.types.GrantType
-
Packages that use GrantType 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. -
-
Uses of GrantType in com.authlete.common.dto
Methods in com.authlete.common.dto that return GrantType Modifier and Type Method Description GrantType
AccessToken. getGrantType()
Get the grant type of the access token when the access token was created.GrantType
IntrospectionResponse. getGrantType()
Get the grant type that was used for issuance of the access token.GrantType
TokenCreateRequest. getGrantType()
Get the grant type for a newly created access token.GrantType
TokenCreateResponse. getGrantType()
Get thegrant type
for the newly issued access token.GrantType
TokenResponse. getGrantType()
Get the grant type of the token request.GrantType[]
Client. getGrantTypes()
Getgrant_type
values that the client is declaring that it will restrict itself to using.GrantType[]
Service. getSupportedGrantTypes()
Get the supported grant types.Methods in com.authlete.common.dto with parameters of type GrantType Modifier and Type Method Description AccessToken
AccessToken. setGrantType(GrantType grantType)
Set the grant type of the access token when the access token was created.void
IntrospectionResponse. setGrantType(GrantType grantType)
Set the grant type that was used for issuance of the access token.TokenCreateRequest
TokenCreateRequest. setGrantType(GrantType grantType)
Set the grant type for a newly created access token.TokenCreateResponse
TokenCreateResponse. setGrantType(GrantType grantType)
Set thegrant type
for the newly issued access token.void
TokenResponse. setGrantType(GrantType grantType)
Set the grant type of the token request.Client
Client. setGrantTypes(GrantType[] grantTypes)
Setgrant_type
values that the client is declaring that it will restrict itself to using.Service
Service. setSupportedGrantTypes(GrantType[] grantTypes)
Set the supported grant types. -
Uses of GrantType in com.authlete.common.types
Methods in com.authlete.common.types that return GrantType Modifier and Type Method Description static GrantType
GrantType. getByValue(short value)
Find an instance of this enum by a value.static GrantType
GrantType. parse(String grantType)
ConvertString
toGrantType
.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.Methods in com.authlete.common.types that return types with arguments of type GrantType Modifier and Type Method Description static EnumSet<GrantType>
GrantType. toSet(int bits)
static EnumSet<GrantType>
GrantType. toSet(GrantType[] array)
Methods in com.authlete.common.types with parameters of type GrantType Modifier and Type Method Description static EnumSet<GrantType>
GrantType. toSet(GrantType[] array)
Method parameters in com.authlete.common.types with type arguments of type GrantType Modifier and Type Method Description static int
GrantType. toBits(EnumSet<GrantType> set)
-