android.accounts
Class AbstractAccountAuthenticator
java.lang.Object
android.accounts.AbstractAccountAuthenticator
public abstract class AbstractAccountAuthenticator
- extends Object
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 |
AbstractAccountAuthenticator
public AbstractAccountAuthenticator(Context context)
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.