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(AWSCognitoIdentityProvider provider,
AmazonCognitoIdentityClient cib)
Constructs a new CognitoCredentialsProvider, which will set up a link to
the provider passed in using the enhanced authentication flow to get
short-lived credentials from Amazon Cognito, which can be retrieved from
CognitoCredentialsProvider.getCredentials() |
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.