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 void GetCredentialsAsync(AmazonCognitoIdentityCallback<ImmutableCredentials> callback, AsyncOptions options = null)
{
options = options == null ? new AsyncOptions() : options;
CognitoIdentityAsyncExecutor.ExecuteAsync<ImmutableCredentials>(() =>
{
return GetCredentials();
}, options, callback);
}