AWS SDK Version 2 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.

.NET Framework 3.5
 
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.dll
Version: (assembly version)

Syntax

C#
public class GetOpenIdTokenRequest : AmazonCognitoIdentityRequest
         IRequestEvents

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

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8