Skip to content

GetOpenIdTokenInput

Source code in docs_src/capo_cognito_identity/types/get_open_id_token_input.py
class GetOpenIdTokenInput(TypedDict, closed=True):
    identity_id: "capo_cognito_identity.types.identity_id.IdentityId"
    """<p>A unique identifier in the format REGION:GUID.</p>"""
    logins: NotRequired["capo_cognito_identity.types.logins_map.LoginsMap"]
    """<p>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 <code>id_token</code>.</p>"""

identity_id instance-attribute

identity_id: IdentityId

A unique identifier in the format REGION:GUID.

logins instance-attribute

logins: NotRequired[LoginsMap]

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.