| 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 |
|---|---|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setAcrs(String[] acrs)
Set the list of ACR values requested by the device authorization
request.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setAction(DeviceAuthorizationResponse.Action action)
Set the next action that the implementation of the device authorization
endpoint should take.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setClaimNames(String[] names)
Set the names of the claims which were requested indirectly via some
special scopes.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setClientAuthMethod(ClientAuthMethod method)
Set the client authentication method that should be performed at the
device authorization endpoint.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setClientId(long clientId)
Set the client ID of the client application that has made the device
authorization request.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setClientIdAlias(String alias)
Set the client ID alias of the client application that has made the
device authorization request.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setClientIdAliasUsed(boolean used)
Set the flag which indicates whether the client ID alias was used in
the device authorization request.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setClientName(String name)
Set the name of the client application which has made the device
authorization request.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setDeviceCode(String code)
Set the device verification code.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setExpiresIn(int expiresIn)
Set the duration of the issued device verification code and end-user
verification code in seconds.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setInterval(int interval)
Set the minimum amount of time in seconds that the client must wait for
between polling requests to the token endpoint.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setResponseContent(String responseContent)
Set the content that can be used to generate a response to the client
application.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setScopes(Scope[] scopes)
Set the scopes requested by the device authorization request.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setUserCode(String code)
Set the end-user verification code.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setVerificationUri(URI uri)
Set the end-user verification URI.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setVerificationUriComplete(URI uri)
Set the end-user verification URI that includes the end-user verification
code.
|
DeviceAuthorizationResponse |
DeviceAuthorizationResponse.setWarnings(String[] warnings)
Set the warnings raised during processing the device authorization
request.
|
Copyright © 2019. All rights reserved.