Learn R Programming

paws.security.identity (version 0.7.0)

cognitoidentity_get_id: Generates (or retrieves) a Cognito ID

Description

Generates (or retrieves) a Cognito ID. Supplying multiple logins will create an implicit linked account.

See https://www.paws-r-sdk.com/docs/cognitoidentity_get_id/ for full documentation.

Usage

cognitoidentity_get_id(AccountId = NULL, IdentityPoolId, Logins = NULL)

Arguments

AccountId

A standard AWS account ID (9+ digits).

IdentityPoolId

[required] An identity pool ID in the format REGION:GUID.

Logins

A set of optional name-value pairs that map provider names to provider tokens. The available provider names for Logins are as follows:

  • Facebook: graph.facebook.com

  • Amazon Cognito user pool: cognito-idp.<region>.amazonaws.com/<YOUR_USER_POOL_ID>, for example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

  • Google: accounts.google.com

  • Amazon: www.amazon.com

  • Twitter: api.twitter.com

  • Digits: www.digits.com