private static class AccountAuthenticatorService.AccountAuthenticatorImpl extends AbstractAccountAuthenticator
Constructor and Description |
---|
AccountAuthenticatorService.AccountAuthenticatorImpl(Context context) |
Modifier and Type | Method and Description |
---|---|
Bundle |
addAccount(AccountAuthenticatorResponse response,
String accountType,
String authTokenType,
String[] requiredFeatures,
Bundle options) |
Bundle |
confirmCredentials(AccountAuthenticatorResponse response,
Account account,
Bundle options) |
Bundle |
editProperties(AccountAuthenticatorResponse response,
String accountType) |
Bundle |
getAuthToken(AccountAuthenticatorResponse response,
Account account,
String authTokenType,
Bundle options) |
String |
getAuthTokenLabel(String authTokenType) |
Bundle |
hasFeatures(AccountAuthenticatorResponse response,
Account account,
String[] features) |
Bundle |
updateCredentials(AccountAuthenticatorResponse response,
Account account,
String authTokenType,
Bundle options) |
addAccountFromCredentials, getAccountCredentialsForCloning, getAccountRemovalAllowed, getIBinder
private final Context mContext
public AccountAuthenticatorService.AccountAuthenticatorImpl(Context context)
public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) throws NetworkErrorException
addAccount
in class AbstractAccountAuthenticator
NetworkErrorException
public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options)
confirmCredentials
in class AbstractAccountAuthenticator
public Bundle editProperties(AccountAuthenticatorResponse response, String accountType)
editProperties
in class AbstractAccountAuthenticator
public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) throws NetworkErrorException
getAuthToken
in class AbstractAccountAuthenticator
NetworkErrorException
public String getAuthTokenLabel(String authTokenType)
getAuthTokenLabel
in class AbstractAccountAuthenticator
public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) throws NetworkErrorException
hasFeatures
in class AbstractAccountAuthenticator
NetworkErrorException
public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options)
updateCredentials
in class AbstractAccountAuthenticator