| Package | Description |
|---|---|
| com.authlete.common.api |
The definition of Authlete API (
AuthleteApi) and the factory class (AuthleteApiFactory). |
| com.authlete.common.dto |
Requests to and responses from Authlete APIs and some data structures.
|
| Modifier and Type | Method and Description |
|---|---|
TokenUpdateResponse |
AuthleteApi.tokenUpdate(TokenUpdateRequest request)
Call Authlete's
/auth/token/update API. |
| Modifier and Type | Method and Description |
|---|---|
TokenUpdateRequest |
TokenUpdateRequest.setAccessToken(String accessToken)
Set an existing access token to update.
|
TokenUpdateRequest |
TokenUpdateRequest.setAccessTokenExpiresAt(long expiresAt)
Set the new date at which the access token will expire.
|
TokenUpdateRequest |
TokenUpdateRequest.setAccessTokenExpiresAtUpdatedOnScopeUpdate(boolean updated)
Set the flag which indicates whether
/auth/token/update API attempts
to update the expiration date of the access token when the scopes linked to
the access token are changed by this request. |
TokenUpdateRequest |
TokenUpdateRequest.setAccessTokenHash(String accessTokenHash)
Set the hash of the access token value.
|
TokenUpdateRequest |
TokenUpdateRequest.setAccessTokenPersistent(boolean persistent)
Set whether the access token expires or not.
|
TokenUpdateRequest |
TokenUpdateRequest.setAccessTokenValueUpdated(boolean updated)
Set whether to update the value of the access token in the data store.
|
TokenUpdateRequest |
TokenUpdateRequest.setProperties(Property[] properties)
Set a new set of properties assigned to the access token.
|
TokenUpdateRequest |
TokenUpdateRequest.setScopes(String[] scopes)
Set a new set of scopes assigned to the access token.
|
Copyright © 2019. All rights reserved.