@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 AWSSSOOIDC
public 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 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.