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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentity/types.rb

Overview

Note:

When making an API call, you may pass GetOpenIdTokenInput data as a 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.



509
510
511
512
513
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 509

class GetOpenIdTokenInput < Struct.new(
  :identity_id,
  :logins)
  include Aws::Structure
end

#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`.



509
510
511
512
513
# File 'lib/aws-sdk-cognitoidentity/types.rb', line 509

class GetOpenIdTokenInput < Struct.new(
  :identity_id,
  :logins)
  include Aws::Structure
end