| 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 |
|---|---|
TokenResponse |
AuthleteApi.token(TokenRequest request)
Call Authlete's
/auth/token API. |
| Modifier and Type | Method and Description |
|---|---|
TokenRequest |
TokenRequest.setClientId(String clientId)
Set the client ID extracted from
Authorization
header of the token request from the client application. |
TokenRequest |
TokenRequest.setClientSecret(String clientSecret)
Set the client secret extracted from
Authorization
header of the token request from the client application. |
TokenRequest |
TokenRequest.setParameters(Map<String,String[]> parameters)
Set the value of
parameters which are the request
parameters that the OAuth 2.0 token endpoint of the service
implementation received from the client application. |
TokenRequest |
TokenRequest.setParameters(String parameters)
Set the value of
parameters which are the request
parameters that the OAuth 2.0 token endpoint of the service
implementation received from the client application. |
TokenRequest |
TokenRequest.setProperties(Property[] properties)
Set extra properties to associate with an access token which may
be issued by this request.
|
Copyright © 2017. All rights reserved.