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
| Name | Description |
|---|---|
AProviderName | Specify the name of the provider. Valid provider names are:
|
AProviderIdentifier | Specify the identifier provided by the provider. |
ClearLogins
procedure ClearLogins;
Clear the current logins.