public class AuthenticatorService.Authenticator
extends AbstractAccountAuthenticator
Constructor and Description |
---|
Authenticator(Context context) |
Modifier and Type | Method and Description |
---|---|
Bundle |
addAccount(AccountAuthenticatorResponse accountAuthenticatorResponse,
String s,
String s2,
String[] strings,
Bundle bundle) |
Bundle |
confirmCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse,
Account account,
Bundle bundle) |
Bundle |
editProperties(AccountAuthenticatorResponse accountAuthenticatorResponse,
String s) |
Bundle |
getAuthToken(AccountAuthenticatorResponse accountAuthenticatorResponse,
Account account,
String s,
Bundle bundle) |
String |
getAuthTokenLabel(String s) |
Bundle |
hasFeatures(AccountAuthenticatorResponse accountAuthenticatorResponse,
Account account,
String[] strings) |
Bundle |
updateCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse,
Account account,
String s,
Bundle bundle) |
public Authenticator(Context context)
public Bundle editProperties(AccountAuthenticatorResponse accountAuthenticatorResponse, String s)
public Bundle addAccount(AccountAuthenticatorResponse accountAuthenticatorResponse, String s, String s2, String[] strings, Bundle bundle) throws NetworkErrorException
NetworkErrorException
public Bundle confirmCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, Bundle bundle) throws NetworkErrorException
NetworkErrorException
public Bundle getAuthToken(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle) throws NetworkErrorException
NetworkErrorException
public Bundle updateCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle) throws NetworkErrorException
NetworkErrorException