com.amazonaws.auth
Class AWSAbstractCognitoDeveloperIdentityProvider

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

public abstract class AWSAbstractCognitoDeveloperIdentityProvider
extends AWSAbstractCognitoIdentityProvider

An extension of the AbstractCognitoProvider that provides a class which developers can extend for implementing a developer provider, when using developer authenticated identities


Constructor Summary
AWSAbstractCognitoDeveloperIdentityProvider(java.lang.String accountId, java.lang.String identityPoolId)
           
AWSAbstractCognitoDeveloperIdentityProvider(java.lang.String accountId, java.lang.String identityPoolId, AmazonCognitoIdentity cibClient)
          Wraps around the AbstractIdentityProvider to cover some back end code that is consistent across all providers, utilizing the CIB client to handle the identity management.
AWSAbstractCognitoDeveloperIdentityProvider(java.lang.String accountId, java.lang.String identityPoolId, ClientConfiguration clientConfiguration)
          Wraps around the AbstractIdentityProvider to cover some back end code that is consistent across all providers, utilizing the CIB client to handle the identity management.
 
Method Summary
abstract  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

AWSAbstractCognitoDeveloperIdentityProvider

public AWSAbstractCognitoDeveloperIdentityProvider(java.lang.String accountId,
                                                   java.lang.String identityPoolId)

AWSAbstractCognitoDeveloperIdentityProvider

public AWSAbstractCognitoDeveloperIdentityProvider(java.lang.String accountId,
                                                   java.lang.String identityPoolId,
                                                   ClientConfiguration clientConfiguration)
Wraps around the AbstractIdentityProvider to cover some back end code that is consistent across all providers, utilizing the CIB client to handle the identity management.

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

AWSAbstractCognitoDeveloperIdentityProvider

public AWSAbstractCognitoDeveloperIdentityProvider(java.lang.String accountId,
                                                   java.lang.String identityPoolId,
                                                   AmazonCognitoIdentity cibClient)
Wraps around the AbstractIdentityProvider to cover some back end code that is consistent across all providers, utilizing the CIB client to handle the identity management.

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 abstract 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.