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

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone