android.accounts
Class AbstractAccountAuthenticator

java.lang.Object
  extended by android.accounts.AbstractAccountAuthenticator

public abstract class AbstractAccountAuthenticator
extends Object


Constructor Summary
AbstractAccountAuthenticator(Context context)
           
 
Method Summary
abstract  Bundle addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options)
           
abstract  Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options)
           
abstract  Bundle editProperties(AccountAuthenticatorResponse response, String accountType)
           
 Bundle getAccountRemovalAllowed(AccountAuthenticatorResponse response, Account account)
           
abstract  Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options)
           
abstract  String getAuthTokenLabel(String authTokenType)
           
 IBinder getIBinder()
           
abstract  Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features)
           
abstract  Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAccountAuthenticator

public AbstractAccountAuthenticator(Context context)
Method Detail

getIBinder

public final IBinder getIBinder()

editProperties

public abstract Bundle editProperties(AccountAuthenticatorResponse response,
                                      String accountType)

addAccount

public abstract Bundle addAccount(AccountAuthenticatorResponse response,
                                  String accountType,
                                  String authTokenType,
                                  String[] requiredFeatures,
                                  Bundle options)
                           throws NetworkErrorException
Throws:
NetworkErrorException

confirmCredentials

public abstract Bundle confirmCredentials(AccountAuthenticatorResponse response,
                                          Account account,
                                          Bundle options)
                                   throws NetworkErrorException
Throws:
NetworkErrorException

getAuthToken

public abstract Bundle getAuthToken(AccountAuthenticatorResponse response,
                                    Account account,
                                    String authTokenType,
                                    Bundle options)
                             throws NetworkErrorException
Throws:
NetworkErrorException

getAuthTokenLabel

public abstract String getAuthTokenLabel(String authTokenType)

updateCredentials

public abstract Bundle updateCredentials(AccountAuthenticatorResponse response,
                                         Account account,
                                         String authTokenType,
                                         Bundle options)
                                  throws NetworkErrorException
Throws:
NetworkErrorException

hasFeatures

public abstract Bundle hasFeatures(AccountAuthenticatorResponse response,
                                   Account account,
                                   String[] features)
                            throws NetworkErrorException
Throws:
NetworkErrorException

getAccountRemovalAllowed

public Bundle getAccountRemovalAllowed(AccountAuthenticatorResponse response,
                                       Account account)
                                throws NetworkErrorException
Throws:
NetworkErrorException


Copyright © 2008-2012. All Rights Reserved.