| 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 |
|---|---|
DeviceAuthorizationResponse |
AuthleteApi.deviceAuthorization(DeviceAuthorizationRequest request)
Call Authlete's
/api/device/authorization API. |
| Modifier and Type | Method and Description |
|---|---|
DeviceAuthorizationRequest |
DeviceAuthorizationRequest.setClientCertificate(String certificate)
Set the client certificate used in the TLS connection between the
client application and the device authorization endpoint of the
authorization server.
|
DeviceAuthorizationRequest |
DeviceAuthorizationRequest.setClientCertificatePath(String[] path)
Set the client certificate path presented by the client during client
authentication.
|
DeviceAuthorizationRequest |
DeviceAuthorizationRequest.setClientId(String clientId)
Set the client ID extracted from
Authorization header of the
device authorization request from the client application. |
DeviceAuthorizationRequest |
DeviceAuthorizationRequest.setClientSecret(String clientSecret)
Set the client secret extracted from
Authorization header of
the device authorization request from the client application. |
DeviceAuthorizationRequest |
DeviceAuthorizationRequest.setParameters(Map<String,String[]> parameters)
Set the value of
parameters which are the request parameters
that the device authorization endpoint of the authorization server
implementation received from the client application. |
DeviceAuthorizationRequest |
DeviceAuthorizationRequest.setParameters(String parameters)
Set the value of
parameters which are the request parameters
that the device authorization endpoint of the authorization server
implementation received from the client application. |
Copyright © 2019. All rights reserved.