| Package | Description |
|---|---|
| com.amazonaws.auth |
| Constructor and Description |
|---|
CognitoCachingCredentialsProvider(android.content.Context context,
String accountId,
String identityPoolId,
String unauthArn,
String authArn,
AmazonCognitoIdentityClient cibClient,
AWSSecurityTokenService stsClient)
Constructs a new
CognitoCachingCredentialsProvider, which will
use the specified Amazon Cognito identity pool to make a request to the
AWS Security Token Service (STS) to get short-lived session credentials,
which will then be returned by this class's CognitoCachingCredentialsProvider.getCredentials()
method. |
CognitoCredentialsProvider(String accountId,
String identityPoolId,
String unauthRoleArn,
String authRoleArn,
AmazonCognitoIdentityClient cibClient,
AWSSecurityTokenService stsClient)
Constructs a new
CognitoCredentialsProvider, which will use the
specified Amazon Cognito identity pool to make a request to the AWS
Security Token Service (STS) to get short-lived session credentials,
which will then be returned by this class's CognitoCredentialsProvider.getCredentials()
method. |
Copyright © 2015. All rights reserved.