Method | Description | |
---|---|---|
CacheIdentityId ( string identityId ) : void |
Caches the identity id retrieved from Cognito. For Unity, the Identity id is stored in PlayerPrefs property.
|
|
ClearIdentityCache ( ) : void |
Clears the currently identity id from the cache.
|
|
GetCachedIdentityId ( ) : string |
Gets the previously cached the identity id retrieved from Cognito. For Unity, the Identity id is stored in PlayerPrefs
|
|
GetCredentialsAsync ( AmazonCognitoIdentityCallback |
Returns an instance of ImmutableCredentials for this instance
|
|
GetIdentityIdAsync ( AmazonCognitoIdentityCallback |
Gets the Identity Id corresponding to the credentials retrieved from Cognito. Note: this setting may change during execution. To be notified of its new value, attach a listener to IdentityChangedEvent
|
Method | Description | |
---|---|---|
CacheCredentials ( CredentialsRefreshState credentialsState ) : void |
Caches the credentials to player pref's
|
|
GetCachedCredentials ( ) : CredentialsRefreshState |
Gets the cached credentials state
|
|
GetCredentialsForIdentity ( |
||
GetOpenId ( Amazon.CognitoIdentity.Model.GetOpenIdTokenRequest getTokenRequest ) : |
||
GetStsCredentials ( |
public CacheIdentityId ( string identityId ) : void | ||
identityId | string | The Cognito identity id to cache |
return | void |
public GetCredentialsAsync ( AmazonCognitoIdentityCallback |
||
callback | AmazonCognitoIdentityCallback |
The callback which is executed when the asynchronous operations is completed |
options | Options for executing asynchronous operation | |
return | void |
public GetIdentityIdAsync ( AmazonCognitoIdentityCallback |
||
callback | AmazonCognitoIdentityCallback |
The callback which is executed when the asynchronous operations is completed |
options | Options for executing asynchronous operation | |
return | void |