Package | Description |
---|---|
com.amazonaws.auth | |
com.amazonaws.services.securitytoken |
|
Modifier and Type | Field and Description |
---|---|
protected AWSSecurityTokenService |
CognitoCredentialsProvider.securityTokenService
The client for starting STS sessions, used in the basic (non-enhanced
flow)
|
Constructor and Description |
---|
CognitoCachingCredentialsProvider(android.content.Context context,
AWSCognitoIdentityProvider provider,
String unauthArn,
String authArn,
AWSSecurityTokenService stsClient)
Constructs a new
CognitoCachingCredentialsProvider , which will
set up a link to the provider passed in to use the basic authentication
flow to get short-lived credentials from STS, which can be retrieved from
CognitoCachingCredentialsProvider.getCredentials() |
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,
String unauthArn,
String authArn,
AWSSecurityTokenService stsClient)
Constructs a new CognitoCredentialsProvider, which will set up a link to
the provider passed in to use the basic authentication flow to get
short-lived credentials from STS, 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. |
STSSessionCredentials(AWSSecurityTokenService stsClient)
Deprecated.
Create a new credentials object that will periodically and automatically
obtain a session from STS, using a preconfigured STS client.
|
STSSessionCredentials(AWSSecurityTokenService stsClient,
int sessionDuratinSeconds)
Deprecated.
Create a new credentials object that will periodically and automatically
obtain a session from STS, using a preconfigured STS client.
|
WebIdentityFederationSessionCredentialsProvider(String wifToken,
String wifProvider,
String roleArn,
AWSSecurityTokenService stsClient)
Constructs a new WebIdentityFederationSessionCredentialsProvider, which
will use the specified 3rd-party web identity provider to make a request
to the AWS Security Token Service (STS) using the provided client to
request short lived session credentials, which will then be returned by
this class's
WebIdentityFederationSessionCredentialsProvider.getCredentials() method. |
Modifier and Type | Class and Description |
---|---|
class |
AWSSecurityTokenServiceClient
Client for accessing AWS Security Token Service.
|
Copyright © 2018. All rights reserved.