| 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 |
|---|---|
DeviceVerificationResponse |
AuthleteApi.deviceVerification(DeviceVerificationRequest request)
Call Authlete's
/api/device/verification API. |
| Modifier and Type | Method and Description |
|---|---|
DeviceVerificationResponse |
DeviceVerificationResponse.setAcrs(String[] acrs)
Set the list of ACR values requested by the device authorization
request.
|
DeviceVerificationResponse |
DeviceVerificationResponse.setAction(DeviceVerificationResponse.Action action)
Set the next action that the authorization server should take.
|
DeviceVerificationResponse |
DeviceVerificationResponse.setClaimNames(String[] names)
Set the names of the claims which were requested indirectly via some
special scopes.
|
DeviceVerificationResponse |
DeviceVerificationResponse.setClientId(long clientId)
Set the client ID of the client application to which the user code has
been issued.
|
DeviceVerificationResponse |
DeviceVerificationResponse.setClientIdAlias(String alias)
Set the client ID alias of the client application to which the user code
has been issued.
|
DeviceVerificationResponse |
DeviceVerificationResponse.setClientIdAliasUsed(boolean used)
Set the flag which indicates whether the client ID alias was used in
the device authorization request for the user code.
|
DeviceVerificationResponse |
DeviceVerificationResponse.setClientName(String name)
Set the name of the client application to which the user code has been
issued.
|
DeviceVerificationResponse |
DeviceVerificationResponse.setExpiresAt(long expiresAt)
Set the date in milliseconds since the Unix epoch (1970-01-01)
at which the user code will expire.
|
DeviceVerificationResponse |
DeviceVerificationResponse.setScopes(Scope[] scopes)
Set the scopes requested by the device authorization request for the
user code.
|
Copyright © 2019. All rights reserved.