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