Uses of Class
com.authlete.common.dto.Grant
-
Packages that use Grant Package Description com.authlete.common.dto Requests to and responses from Authlete APIs and some data structures. -
-
Uses of Grant in com.authlete.common.dto
Methods in com.authlete.common.dto that return Grant Modifier and Type Method Description Grant
GrantDeserializer. deserialize(com.google.gson.JsonElement jelement, Type type, com.google.gson.JsonDeserializationContext context)
static Grant
Grant. fromJson(String json)
Build aGrant
instance from a JSON string.Grant
AuthorizationResponse. getGrant()
Get the content of the grant which is identified by thegrant_id
request parameter.Grant
BackchannelAuthenticationResponse. getGrant()
Get the content of the grant which is identified by thegrant_id
request parameter.Grant
DeviceAuthorizationResponse. getGrant()
Get the content of the grant which is identified by thegrant_id
request parameter.Grant
DeviceVerificationResponse. getGrant()
Get the content of the grant which is identified by thegrant_id
request parameter of the device authorization request.Grant
IntrospectionResponse. getGrant()
Get the grant that this access token has inherited.Grant
Grant. setAuthorizationDetails(AuthzDetails details)
Set the authorization details.Grant
Grant. setClaims(String[] claims)
Set the claimsGrant
Grant. setScopes(GrantScope[] scopes)
Set the grant scopes.Methods in com.authlete.common.dto with parameters of type Grant Modifier and Type Method Description com.google.gson.JsonElement
GrantSerializer. serialize(Grant grant, Type type, com.google.gson.JsonSerializationContext context)
void
AuthorizationResponse. setGrant(Grant grant)
Set the content of the grant which is identified by thegrant_id
request parameter.BackchannelAuthenticationResponse
BackchannelAuthenticationResponse. setGrant(Grant grant)
Set the content of the grant which is identified by thegrant_id
request parameter.DeviceAuthorizationResponse
DeviceAuthorizationResponse. setGrant(Grant grant)
Set the content of the grant which is identified by thegrant_id
request parameter.DeviceVerificationResponse
DeviceVerificationResponse. setGrant(Grant grant)
Set the content of the grant which is identified by thegrant_id
request parameter of the device authorization request.void
IntrospectionResponse. setGrant(Grant grant)
Set the grant that this access token has inherited.
-