AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the GetOpenIdToken operation. 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.

The OpenID token is valid for 10 minutes.

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CognitoIdentity.AmazonCognitoIdentityRequest
      Amazon.CognitoIdentity.Model.GetOpenIdTokenRequest

Namespace: Amazon.CognitoIdentity.Model
Assembly: AWSSDK.CognitoIdentity.dll
Version: 3.x.y.z

Syntax

C#
public class GetOpenIdTokenRequest : AmazonCognitoIdentityRequest
         IAmazonWebServiceRequest

The GetOpenIdTokenRequest type exposes the following members

Constructors

NameDescription
Public Method GetOpenIdTokenRequest()

Properties

NameTypeDescription
Public Property IdentityId System.String

Gets and sets the property IdentityId.

A unique identifier in the format REGION:GUID.

Public Property Logins System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5