| Package | Description |
|---|---|
| com.authlete.common.dto |
Requests to and responses from Authlete APIs and some data structures.
|
| Modifier and Type | Method and Description |
|---|---|
TokenInfo |
TokenResponse.getActorTokenInfo()
Get the information about the token specified by the
actor_token request parameter. |
TokenInfo |
TokenResponse.getSubjectTokenInfo()
Get the information about the token specified by the
subject_token request parameter. |
TokenInfo |
TokenInfo.setAuthorizationDetails(AuthzDetails details)
Set the authorization details associated with the token.
|
TokenInfo |
TokenInfo.setClientId(long clientId)
Set the client ID.
|
TokenInfo |
TokenInfo.setClientIdAlias(String alias)
Set the alias of the client ID.
|
TokenInfo |
TokenInfo.setClientIdAliasUsed(boolean used)
Set the flag indicating whether the alias of the client ID was used
when the token was created.
|
TokenInfo |
TokenInfo.setExpiresAt(long expiresAt)
Set the expiration date/time in seconds since the Unix epoch.
|
TokenInfo |
TokenInfo.setProperties(Property[] properties)
Set the extra properties associated with the token.
|
TokenInfo |
TokenInfo.setResources(URI[] resources)
Set the resources associated with the token.
|
TokenInfo |
TokenInfo.setScopes(Scope[] scopes)
Set the scopes.
|
TokenInfo |
TokenInfo.setSubject(String subject)
Set the subject (= resource owner's unique identifier).
|
| Modifier and Type | Method and Description |
|---|---|
void |
TokenResponse.setActorTokenInfo(TokenInfo tokenInfo)
Set the information about the token specified by the
actor_token request parameter. |
void |
TokenResponse.setSubjectTokenInfo(TokenInfo tokenInfo)
Set the information about the token specified by the
subject_token request parameter. |
Copyright © 2022. All rights reserved.