public class AWSBasicCognitoIdentityProvider extends AWSAbstractCognitoIdentityProvider
| Constructor and Description |
|---|
AWSBasicCognitoIdentityProvider(String accountId,
String identityPoolId)
An extension of the AbstractCognitoProvider that is used to communicate
with Cognito.
|
AWSBasicCognitoIdentityProvider(String accountId,
String identityPoolId,
com.amazonaws.services.cognitoidentity.AmazonCognitoIdentity cibClient)
An extension of the AbstractCognitoProvider that is used to communicate
with Cognito.
|
AWSBasicCognitoIdentityProvider(String accountId,
String identityPoolId,
ClientConfiguration clientConfiguration)
An extension of the AbstractCognitoProvider that is used to communicate
with Cognito.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getProviderName()
Gets a string with the name of the provider being used.
|
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 AWSBasicCognitoIdentityProvider(String accountId, String identityPoolId)
accountId - the account id of the developeridentityPoolId - the identity pool id of the app/user in questionpublic AWSBasicCognitoIdentityProvider(String accountId, 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 AWSBasicCognitoIdentityProvider(String accountId, 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 String getProviderName()
AWSAbstractCognitoIdentityProvidergetProviderName in class AWSAbstractCognitoIdentityProviderpublic String refresh()
AWSIdentityProviderrefresh in interface AWSIdentityProviderrefresh in class AWSAbstractCognitoIdentityProviderCopyright © 2010 Amazon Web Services, Inc. All Rights Reserved.