Smaws_Client_CognitoIdentity.GetOpenIdToken
val request :
Smaws_Lib.Context.t ->
get_open_id_token_input ->
(get_open_id_token_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ExternalServiceException of external_service_exception
| `InternalErrorException of internal_error_exception
| `InvalidParameterException of invalid_parameter_exception
| `NotAuthorizedException of not_authorized_exception
| `ResourceConflictException of resource_conflict_exception
| `ResourceNotFoundException of resource_not_found_exception
| `TooManyRequestsException of too_many_requests_exception ])
Stdlib.result
Gets an OpenID token, using a known Cognito ID. This known Cognito ID is returned by GetId
. You can optionally add additional logins for the identity. Supplying multiple logins creates an implicit link.
The OpenID token is valid for 10 minutes.
This is a public API. You do not need any credentials to call this API.