Learn R Programming

paws.security.identity (version 0.1.12)

cognitoidentity: Amazon Cognito Identity

Description

Amazon Cognito Federated Identities

Amazon Cognito Federated Identities is a web service that delivers scoped temporary credentials to mobile devices and other untrusted environments. It uniquely identifies a device and supplies the user with a consistent identity over the lifetime of an application.

Using Amazon Cognito Federated Identities, you can enable authentication with one or more third-party identity providers (Facebook, Google, or Login with Amazon) or an Amazon Cognito user pool, and you can also choose to support unauthenticated access from your app. Cognito delivers a unique identifier for each user and acts as an OpenID token provider trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS credentials.

For a description of the authentication flow from the Amazon Cognito Developer Guide see Authentication Flow.

For more information see Amazon Cognito Federated Identities.

Usage

cognitoidentity(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- cognitoidentity(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

create_identity_poolCreates a new identity pool
delete_identitiesDeletes identities from an identity pool
delete_identity_poolDeletes an identity pool
describe_identityReturns metadata related to the given identity, including when the identity was created and any associated linked logins
describe_identity_poolGets details about a particular identity pool, including the pool name, ID description, creation date, and current number of users
get_credentials_for_identityReturns credentials for the provided identity ID
get_idGenerates (or retrieves) a Cognito ID
get_identity_pool_rolesGets the roles for an identity pool
get_open_id_tokenGets an OpenID token, using a known Cognito ID
get_open_id_token_for_developer_identityRegisters (or retrieves) a Cognito IdentityId and an OpenID Connect token for a user authenticated by your backend authentication process
list_identitiesLists the identities in an identity pool
list_identity_poolsLists all of the Cognito identity pools registered for your account
list_tags_for_resourceLists the tags that are assigned to an Amazon Cognito identity pool
lookup_developer_identityRetrieves the IdentityID associated with a DeveloperUserIdentifier or the list of DeveloperUserIdentifier values associated with an IdentityId for an existing identity
merge_developer_identitiesMerges two users having different IdentityIds, existing in the same identity pool, and identified by the same developer provider
set_identity_pool_rolesSets the roles for an identity pool
tag_resourceAssigns a set of tags to an Amazon Cognito identity pool
unlink_developer_identityUnlinks a DeveloperUserIdentifier from an existing identity
unlink_identityUnlinks a federated identity from an existing account
untag_resourceRemoves the specified tags from an Amazon Cognito identity pool
update_identity_poolUpdates an identity pool

Examples

Run this code
if (FALSE) {
svc <- cognitoidentity()
svc$create_identity_pool(
  Foo = 123
)
}

Run the code above in your browser using DataLab