You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CognitoIdentity::Types::GetOpenIdTokenInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetOpenIdTokenInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  identity_id: "IdentityId", # required
  logins: {
    "IdentityProviderName" => "IdentityProviderToken",
  },
}

Input to the GetOpenIdToken action.

Instance Attribute Summary collapse

Instance Attribute Details

#identity_idString

A unique identifier in the format REGION:GUID.

Returns:

  • (String)

    A unique identifier in the format REGION:GUID.

#loginsHash<String,String>

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 Identity Provider, or any other OpenId Connect provider, always include the id_token.

Returns:

  • (Hash<String,String>)

    A set of optional name-value pairs that map provider names to provider tokens.