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.

Information about the state of the identity

Inheritance Hierarchy

System.Object
  Amazon.CognitoIdentity.CognitoAWSCredentials.IdentityState

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

Syntax

C#
public class CognitoAWSCredentials.IdentityState

The CognitoAWSCredentials.IdentityState type exposes the following members

Constructors

NameDescription
Public Method CognitoAWSCredentials.IdentityState(string, string, string, bool)

Creates an instance of the Identity State using identity id , token, provider, fromCache flag

Public Method CognitoAWSCredentials.IdentityState(string, bool)

Creates an instance using the identity id and from cache flag

Properties

NameTypeDescription
Public Property FromCache System.Boolean

Indicates if the identity Id is from cache

Public Property IdentityId System.String

Gets the Identity Id

Public Property LoginProvider System.String

Gets the Login Provider

Public Property LoginSpecified System.Boolean

returns true is the Login provider and login token values are present

Public Property LoginToken System.String

Gets the Login 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