@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 access and refresh tokens for clients that are authenticated using client secrets.
|
CreateTokenWithIAMResult |
createTokenWithIAM(CreateTokenWithIAMRequest request)
Creates and returns access and refresh tokens for clients and applications that are authenticated using IAM
entities.
|
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 access and refresh tokens for clients that are authenticated using client secrets. The access
token can be used to fetch short-term credentials for the assigned AWS accounts or to access application APIs
using bearer authentication.
createToken in interface AWSSSOOIDCpublic CreateTokenWithIAMResult createTokenWithIAM(CreateTokenWithIAMRequest request)
AWSSSOOIDC
Creates and returns access and refresh tokens for clients and applications that are authenticated using IAM
entities. The access token can be used to fetch short-term credentials for the assigned Amazon Web Services
accounts or to access application APIs using bearer authentication.
createTokenWithIAM in interface AWSSSOOIDCpublic RegisterClientResult registerClient(RegisterClientRequest request)
AWSSSOOIDCRegisters 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 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.