@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 IAM Identity Center.
|
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)
AWSSSOOIDC
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.
createToken
in interface AWSSSOOIDC
public RegisterClientResult registerClient(RegisterClientRequest request)
AWSSSOOIDC
Registers a client with IAM Identity Center. This allows clients to initiate device authorization. The output should be persisted for reuse through many authentication requests.
registerClient
in interface AWSSSOOIDC
public StartDeviceAuthorizationResult startDeviceAuthorization(StartDeviceAuthorizationRequest request)
AWSSSOOIDC
Initiates device authorization by requesting a pair of verification codes from the authorization service.
startDeviceAuthorization
in interface AWSSSOOIDC
public void shutdown()
AWSSSOOIDC
shutdown
in interface AWSSSOOIDC
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSSSOOIDC
Response 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 AWSSSOOIDC
request
- The originally executed request.