| 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 |
|---|---|
TokenCreateResponse |
AuthleteApi.tokenCreate(TokenCreateRequest request)
Call Authlete's
/auth/token/create API. |
| Modifier and Type | Method and Description |
|---|---|
TokenCreateResponse |
TokenCreateResponse.setAccessToken(String accessToken)
Set the newly issued access token.
|
TokenCreateResponse |
TokenCreateResponse.setAction(TokenCreateResponse.Action action)
Set the code indicating how the response should be interpreted.
|
TokenCreateResponse |
TokenCreateResponse.setClientId(long clientId)
Set the client ID associated with the newly issued access token.
|
TokenCreateResponse |
TokenCreateResponse.setExpiresAt(long expiresAt)
Set the date at which the newly issued access token will expire.
|
TokenCreateResponse |
TokenCreateResponse.setExpiresIn(long expiresIn)
Set the duration of the newly issued access token in seconds.
|
TokenCreateResponse |
TokenCreateResponse.setGrantType(GrantType grantType)
Set the
grant type for the newly issued
access token. |
TokenCreateResponse |
TokenCreateResponse.setProperties(Property[] properties)
Set the properties associated with the access token.
|
TokenCreateResponse |
TokenCreateResponse.setRefreshToken(String refreshToken)
Set the newly issued refresh token.
|
TokenCreateResponse |
TokenCreateResponse.setScopes(String[] scopes)
Set the scopes associated with the newly issued access token.
|
TokenCreateResponse |
TokenCreateResponse.setSubject(String subject)
Set the subject (= unique identifier) of the user associated
with the newly issued access token.
|
TokenCreateResponse |
TokenCreateResponse.setTokenType(String tokenType)
Set the token type of the access token.
|
Copyright © 2019. All rights reserved.