com.amazonaws.auth
Class AWSBasicCognitoIdentityProvider

java.lang.Object
  extended by com.amazonaws.auth.AWSAbstractCognitoIdentityProvider
      extended by com.amazonaws.auth.AWSBasicCognitoIdentityProvider
All Implemented Interfaces:
AWSCognitoIdentityProvider, AWSIdentityProvider

public class AWSBasicCognitoIdentityProvider
extends AWSAbstractCognitoIdentityProvider

An extension of the AbstractCognitoProvider that is used to communicate with Cognito. All other functionality is the same as that of AbstractCognitoIdentityProvider


Constructor Summary
AWSBasicCognitoIdentityProvider(java.lang.String accountId, java.lang.String identityPoolId)
          An extension of the AbstractCognitoProvider that is used to communicate with Cognito.
AWSBasicCognitoIdentityProvider(java.lang.String accountId, java.lang.String identityPoolId, AmazonCognitoIdentity cibClient)
          An extension of the AbstractCognitoProvider that is used to communicate with Cognito.
AWSBasicCognitoIdentityProvider(java.lang.String accountId, java.lang.String identityPoolId, ClientConfiguration clientConfiguration)
          An extension of the AbstractCognitoProvider that is used to communicate with Cognito.
 
Method Summary
 java.lang.String getProviderName()
          Gets a string with the name of the provider being used.
 
Methods inherited from class com.amazonaws.auth.AWSAbstractCognitoIdentityProvider
clearListeners, getAccountId, getIdentityId, getIdentityPoolId, getLogins, getToken, identityChanged, refresh, registerIdentityChangedListener, setLogins, unregisterIdentityChangedListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWSBasicCognitoIdentityProvider

public AWSBasicCognitoIdentityProvider(java.lang.String accountId,
                                       java.lang.String identityPoolId)
An extension of the AbstractCognitoProvider that is used to communicate with Cognito.

Parameters:
accountId - the account id of the developer
identityPoolId - the identity pool id of the app/user in question

AWSBasicCognitoIdentityProvider

public AWSBasicCognitoIdentityProvider(java.lang.String accountId,
                                       java.lang.String identityPoolId,
                                       ClientConfiguration clientConfiguration)
An extension of the AbstractCognitoProvider that is used to communicate with Cognito.

Parameters:
accountId - the account id of the developer
identityPoolId - the identity pool id of the app/user in question
clientConfiguration - the configuration to apply to service clients created

AWSBasicCognitoIdentityProvider

public AWSBasicCognitoIdentityProvider(java.lang.String accountId,
                                       java.lang.String identityPoolId,
                                       AmazonCognitoIdentity cibClient)
An extension of the AbstractCognitoProvider that is used to communicate with Cognito.

Parameters:
accountId - the account id of the developer
identityPoolId - the identity pool id of the app/user in question
cibClient - the cib client which will be used to contact the cib back end
Method Detail

getProviderName

public java.lang.String getProviderName()
Description copied from class: AWSAbstractCognitoIdentityProvider
Gets a string with the name of the provider being used. For example, Cognito would return "Cognito";

Specified by:
getProviderName in class AWSAbstractCognitoIdentityProvider
Returns:
the name of the provider in a string


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.