@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSSSOOIDCAsync extends AbstractAWSSSOOIDC implements AWSSSOOIDCAsync
AWSSSOOIDCAsync
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
createToken, getCachedResponseMetadata, registerClient, shutdown, startDeviceAuthorization
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createToken, getCachedResponseMetadata, registerClient, shutdown, startDeviceAuthorization
public Future<CreateTokenResult> createTokenAsync(CreateTokenRequest request)
AWSSSOOIDCAsync
Creates and returns an access token for the authorized client. The access token issued will be used to fetch short-term credentials for the assigned roles in the AWS account.
createTokenAsync
in interface AWSSSOOIDCAsync
public Future<CreateTokenResult> createTokenAsync(CreateTokenRequest request, AsyncHandler<CreateTokenRequest,CreateTokenResult> asyncHandler)
AWSSSOOIDCAsync
Creates and returns an access token for the authorized client. The access token issued will be used to fetch short-term credentials for the assigned roles in the AWS account.
createTokenAsync
in interface AWSSSOOIDCAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RegisterClientResult> registerClientAsync(RegisterClientRequest request)
AWSSSOOIDCAsync
Registers a client with AWS SSO. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.
registerClientAsync
in interface AWSSSOOIDCAsync
public Future<RegisterClientResult> registerClientAsync(RegisterClientRequest request, AsyncHandler<RegisterClientRequest,RegisterClientResult> asyncHandler)
AWSSSOOIDCAsync
Registers a client with AWS SSO. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.
registerClientAsync
in interface AWSSSOOIDCAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartDeviceAuthorizationResult> startDeviceAuthorizationAsync(StartDeviceAuthorizationRequest request)
AWSSSOOIDCAsync
Initiates device authorization by requesting a pair of verification codes from the authorization service.
startDeviceAuthorizationAsync
in interface AWSSSOOIDCAsync
public Future<StartDeviceAuthorizationResult> startDeviceAuthorizationAsync(StartDeviceAuthorizationRequest request, AsyncHandler<StartDeviceAuthorizationRequest,StartDeviceAuthorizationResult> asyncHandler)
AWSSSOOIDCAsync
Initiates device authorization by requesting a pair of verification codes from the authorization service.
startDeviceAuthorizationAsync
in interface AWSSSOOIDCAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.