cognitoidentity_get_open_id_token: Gets an OpenID token, using a known Cognito ID

Description Usage Arguments Details Request syntax

View source: R/cognitoidentity_operations.R

Description

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.

Usage

1

Arguments

IdentityId

[required] A unique identifier in the format REGION:GUID.

Logins

A set of optional name-value pairs that map provider names to provider tokens. When using graph.facebook.com and www.amazon.com, supply the access\_token returned from the provider\'s authflow. For accounts.google.com, an Amazon Cognito user pool provider, or any other OpenId Connect provider, always include the id_token.

Details

The OpenId token is valid for 10 minutes.

This is a public API. You do not need any credentials to call this API.

Request syntax

1
2
3
4
5
6
svc$get_open_id_token(
  IdentityId = "string",
  Logins = list(
    "string"
  )
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.