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.

The SQLiteCognitoAWSCredentials extends from Amazon.CognitoIdentity.CognitoAWSCredentials and adds support for caching of identity id using SQLite

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AWSCredentials
    Amazon.Runtime.RefreshingAWSCredentials
      Amazon.CognitoIdentity.CognitoAWSCredentials
        Amazon.CognitoSync.SyncManager.SQLiteCognitoAWSCredentials

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

Syntax

C#
public class SQLiteCognitoAWSCredentials : CognitoAWSCredentials

The SQLiteCognitoAWSCredentials type exposes the following members

Constructors

NameDescription
Public Method SQLiteCognitoAWSCredentials(string, RegionEndpoint)

Constructs a new SQLiteCognitoAWSCredentials instance, which will use the specified Amazon Cognito identity pool to get short lived session credentials.

Public Method SQLiteCognitoAWSCredentials(string, string, string, string, RegionEndpoint)

Constructs a new SQLiteCognitoAWSCredentials instance, which will use the specified Amazon Cognito identity pool to make a requests to the AWS Security Token Service (STS) to request short lived session credentials.

Properties

NameTypeDescription
Public Property AccountId System.String Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Property AuthRoleArn System.String Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Property CurrentLoginProviders System.String[] Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Property IdentityPoolId System.String Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Property LoginsCount System.Int32 Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Property PreemptExpiryTime System.TimeSpan Inherited from Amazon.Runtime.RefreshingAWSCredentials.
Public Property UnAuthRoleArn System.String Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method AddLogin(string, string) Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Method CacheCredentials(RefreshingAWSCredentials.CredentialsRefreshState) Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Method CacheIdentityId(string)

Caches the identity id retrieved from Cognito.

Public Method Clear() Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Method ClearCredentials() Inherited from Amazon.Runtime.RefreshingAWSCredentials.
Public Method ClearIdentityCache()

Clears the currently identity id from the cache.

Public Method ContainsProvider(string) Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Method GetCachedCredentials() Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Method GetCachedIdentityId()

Gets the previously cached the identity id retrieved from Cognito.

Public Method GetCredentials() Inherited from Amazon.Runtime.RefreshingAWSCredentials.
Public Method GetCredentialsAsync() Inherited from Amazon.Runtime.RefreshingAWSCredentials.
Public Method GetIdentityId() Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Method GetIdentityIdAsync() Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Method RefreshIdentityAsync() Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.
Public Method RemoveLogin(string) Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.

Events

NameDescription
Event IdentityChangedEvent Inherited from Amazon.CognitoIdentity.CognitoAWSCredentials.

Version Information

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