Skip to main content

ICognitoAWSCredentials

Interface in AWS.CognitoIdentity

Interface for Cognito AWS Credentials provider.

Ancestors

  • IAWSCredentialsProvider

Properties

Logins

property Logins: TDictionary<string, string>

A map of provider names to identity tokens.

CredentialsDurationSeconds

property CredentialsDurationSeconds: TOptional<Integer>

Specify the duration in seconds to request for credential expiration.

IdentityId

property IdentityId: string

The resolved unique identifier for the current identity.

Methods

AddLogin

procedure AddLogin(const AProviderName, AProviderUserIdentifier: string);

Add a login to credential requests.

Parameters

NameDescription
AProviderNameSpecify the name of the provider. Valid provider names are: Provider Value Amazon Amazon Cognito User Pool Digits Facebook Google Twitter
AProviderIdentifierSpecify the identifier provided by the provider.

ClearLogins

procedure ClearLogins;

Clear the current logins.