Skip to main content

ICognitoIdentityGetOpenIdTokenRequest

Interface in AWS.CognitoIdentity

Interface for GetOpenIdToken requests.

Ancestors

Properties

IdentityId

property IdentityId: string

Specify the unique identifier for the identity in the format REGION:GUID.

Logins

property Logins: TDictionary<string, string>

Specify a set of name-value pairs mapping provider names to provider tokens.

When using graph.facebook.com and www.amazon.com, supply the access_token returned from the provider's authflow. When using accounts.google.com, an Amazon Cognito user pool provider, or any other OpenID Connect provider, always include the id_token.

Methods

AddLogin

procedure AddLogin(const AProviderName, AProviderToken: string);

Add a name-value pair to Logins.

Parameters

NameDescription
AProviderNameSpecify the name of the provider.
AProviderTokenSpecify the token provided by the provider.