Module Smaws_Client_CognitoIdentity.GetOpenIdTokenForDeveloperIdentity

val request : Smaws_Lib.Context.t -> get_open_id_token_for_developer_identity_input -> (get_open_id_token_for_developer_identity_response, [> Smaws_Lib.Protocols.AwsJson.error | `DeveloperUserAlreadyRegisteredException of developer_user_already_registered_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

Registers (or retrieves) a Cognito IdentityId and an OpenID Connect token for a user authenticated by your backend authentication process. Supplying multiple logins will create an implicit linked account. You can only specify one developer provider as part of the Logins map, which is linked to the identity pool. The developer provider is the "domain" by which Cognito will refer to your users.

You can use GetOpenIdTokenForDeveloperIdentity to create a new identity and to link new logins (that is, user credentials issued by a public provider or developer provider) to an existing identity. When you want to create a new identity, the IdentityId should be null. When you want to associate a new login with an existing authenticated/unauthenticated identity, you can do so by providing the existing IdentityId. This API will create the identity in the specified IdentityPoolId.

You must use AWS Developer credentials to call this API.