C# Класс Amazon.CognitoSync.SyncManager.SQLiteCognitoAWSCredentials

The SQLiteCognitoAWSCredentials extends from Amazon.CognitoIdentity.CognitoAWSCredentials and adds support for caching of identity id using SQLite
Наследование: Amazon.CognitoIdentity.CognitoAWSCredentials
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CacheIdentityId ( string identityId ) : void
ClearIdentityCache ( ) : void
GetCachedIdentityId ( ) : string

Описание методов

SQLiteCognitoAWSCredentials() публичный Метод

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.
Результат Amazon.CognitoIdentity

SQLiteCognitoAWSCredentials() публичный Метод

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.
Результат Amazon.CognitoIdentity