C# Class Amazon.CognitoSync.SyncManager.SQLiteCognitoAWSCredentials

The SQLiteCognitoAWSCredentials extends from Amazon.CognitoIdentity.CognitoAWSCredentials and adds support for caching of identity id using SQLite
Inheritance: Amazon.CognitoIdentity.CognitoAWSCredentials
Exibir arquivo Open project: aws/aws-sdk-net

Public Methods

Method Description
SQLiteCognitoAWSCredentials ( string identityPoolId, RegionEndpoint region ) : Amazon.CognitoIdentity

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

SQLiteCognitoAWSCredentials ( string accountId, string identityPoolId, string unAuthRoleArn, string authRoleArn, RegionEndpoint region ) : Amazon.CognitoIdentity

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.

Private Methods

Method Description
CacheIdentityId ( string identityId ) : void
ClearIdentityCache ( ) : void
GetCachedIdentityId ( ) : string

Method Details

SQLiteCognitoAWSCredentials() public method

Constructs a new SQLiteCognitoAWSCredentials instance, which will use the specified Amazon Cognito identity pool to get short lived session credentials.
public SQLiteCognitoAWSCredentials ( string identityPoolId, RegionEndpoint region ) : Amazon.CognitoIdentity
identityPoolId string The Amazon Cogntio identity pool to use
region RegionEndpoint Region to use when accessing Amazon Cognito and AWS Security Token Service.
return Amazon.CognitoIdentity

SQLiteCognitoAWSCredentials() public method

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.
public SQLiteCognitoAWSCredentials ( string accountId, string identityPoolId, string unAuthRoleArn, string authRoleArn, RegionEndpoint region ) : Amazon.CognitoIdentity
accountId string The AWS accountId for the account with Amazon Cognito
identityPoolId string The Amazon Cogntio identity pool to use
unAuthRoleArn string The ARN of the IAM Role that will be assumed when unauthenticated
authRoleArn string The ARN of the IAM Role that will be assumed when authenticated
region RegionEndpoint Region to use when accessing Amazon Cognito and AWS Security Token Service.
return Amazon.CognitoIdentity