| 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.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 © 2017. All rights reserved.