public final class AWSEnhancedCognitoIdentityProvider extends AWSAbstractCognitoIdentityProvider
| Constructor and Description |
|---|
AWSEnhancedCognitoIdentityProvider(java.lang.String accountId,
java.lang.String identityPoolId)
An extension of the AbstractCognitoProvider that is used to communicate
with Cognito.
|
AWSEnhancedCognitoIdentityProvider(java.lang.String accountId,
java.lang.String identityPoolId,
com.amazonaws.services.cognitoidentity.AmazonCognitoIdentity cibClient)
An extension of the AbstractCognitoProvider that is used to communicate
with Cognito.
|
AWSEnhancedCognitoIdentityProvider(java.lang.String accountId,
java.lang.String identityPoolId,
ClientConfiguration clientConfiguration)
An extension of the AbstractCognitoProvider that is used to communicate
with Cognito.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProviderName()
Gets a string with the name of the provider being used.
|
java.lang.String |
refresh()
To be used to call the provider back end to get a token and identityId.
|
clearListeners, getAccountId, getIdentityId, getIdentityPoolId, getLogins, getToken, identityChanged, isAuthenticated, registerIdentityChangedListener, setLogins, unregisterIdentityChangedListenerpublic AWSEnhancedCognitoIdentityProvider(java.lang.String accountId,
java.lang.String identityPoolId)
accountId - the account id of the developeridentityPoolId - the identity pool id of the app/user in questionpublic AWSEnhancedCognitoIdentityProvider(java.lang.String accountId,
java.lang.String identityPoolId,
ClientConfiguration clientConfiguration)
accountId - the account id of the developeridentityPoolId - the identity pool id of the app/user in questionclientConfiguration - the configuration to apply to service clients
createdpublic AWSEnhancedCognitoIdentityProvider(java.lang.String accountId,
java.lang.String identityPoolId,
com.amazonaws.services.cognitoidentity.AmazonCognitoIdentity cibClient)
accountId - the account id of the developeridentityPoolId - the identity pool id of the app/user in questioncibClient - the cib client which will be used to contact the cib
back endpublic java.lang.String getProviderName()
AWSAbstractCognitoIdentityProvidergetProviderName in class AWSAbstractCognitoIdentityProviderpublic java.lang.String refresh()
AWSIdentityProviderrefresh in interface AWSIdentityProviderrefresh in class AWSAbstractCognitoIdentityProviderCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.