@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSSSOOIDC extends Object implements AWSSSOOIDC
AWSSSOOIDC. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
CreateTokenResult |
createToken(CreateTokenRequest request)
Creates and returns an access token for the authorized client.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
RegisterClientResult |
registerClient(RegisterClientRequest request)
Registers a client with AWS SSO.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartDeviceAuthorizationResult |
startDeviceAuthorization(StartDeviceAuthorizationRequest request)
Initiates device authorization by requesting a pair of verification codes from the authorization service.
|
public CreateTokenResult createToken(CreateTokenRequest request)
AWSSSOOIDCCreates 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.
createToken in interface AWSSSOOIDCpublic RegisterClientResult registerClient(RegisterClientRequest request)
AWSSSOOIDCRegisters a client with AWS SSO. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.
registerClient in interface AWSSSOOIDCpublic StartDeviceAuthorizationResult startDeviceAuthorization(StartDeviceAuthorizationRequest request)
AWSSSOOIDCInitiates device authorization by requesting a pair of verification codes from the authorization service.
startDeviceAuthorization in interface AWSSSOOIDCpublic void shutdown()
AWSSSOOIDCshutdown in interface AWSSSOOIDCpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSSSOOIDCResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AWSSSOOIDCrequest - The originally executed request.