public class AccountAuthenticator
extends android.accounts.AbstractAccountAuthenticator
Modifier and Type | Class and Description |
---|---|
static interface |
AccountAuthenticator.TokenType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD_ACCOUNT |
static java.lang.String |
PASSWORD |
static java.lang.String |
TOKEN_TYPE |
Constructor and Description |
---|
AccountAuthenticator(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
android.os.Bundle |
addAccount(android.accounts.AccountAuthenticatorResponse response,
java.lang.String accountType,
java.lang.String authTokenType,
java.lang.String[] requiredFeatures,
android.os.Bundle options) |
android.os.Bundle |
confirmCredentials(android.accounts.AccountAuthenticatorResponse accountAuthenticatorResponse,
android.accounts.Account account,
android.os.Bundle bundle) |
android.os.Bundle |
editProperties(android.accounts.AccountAuthenticatorResponse accountAuthenticatorResponse,
java.lang.String s) |
android.os.Bundle |
getAuthToken(android.accounts.AccountAuthenticatorResponse response,
android.accounts.Account account,
java.lang.String authTokenType,
android.os.Bundle options) |
java.lang.String |
getAuthTokenLabel(java.lang.String s) |
android.os.Bundle |
hasFeatures(android.accounts.AccountAuthenticatorResponse accountAuthenticatorResponse,
android.accounts.Account account,
java.lang.String[] strings) |
android.os.Bundle |
updateCredentials(android.accounts.AccountAuthenticatorResponse accountAuthenticatorResponse,
android.accounts.Account account,
java.lang.String s,
android.os.Bundle bundle) |
public static final java.lang.String PASSWORD
public static final java.lang.String ADD_ACCOUNT
public static final java.lang.String TOKEN_TYPE
public AccountAuthenticator(android.content.Context context)
public android.os.Bundle editProperties(android.accounts.AccountAuthenticatorResponse accountAuthenticatorResponse, java.lang.String s)
editProperties
in class android.accounts.AbstractAccountAuthenticator
public android.os.Bundle addAccount(android.accounts.AccountAuthenticatorResponse response, java.lang.String accountType, java.lang.String authTokenType, java.lang.String[] requiredFeatures, android.os.Bundle options) throws android.accounts.NetworkErrorException
addAccount
in class android.accounts.AbstractAccountAuthenticator
android.accounts.NetworkErrorException
public android.os.Bundle confirmCredentials(android.accounts.AccountAuthenticatorResponse accountAuthenticatorResponse, android.accounts.Account account, android.os.Bundle bundle) throws android.accounts.NetworkErrorException
confirmCredentials
in class android.accounts.AbstractAccountAuthenticator
android.accounts.NetworkErrorException
public android.os.Bundle getAuthToken(android.accounts.AccountAuthenticatorResponse response, android.accounts.Account account, java.lang.String authTokenType, android.os.Bundle options) throws android.accounts.NetworkErrorException
getAuthToken
in class android.accounts.AbstractAccountAuthenticator
android.accounts.NetworkErrorException
public java.lang.String getAuthTokenLabel(java.lang.String s)
getAuthTokenLabel
in class android.accounts.AbstractAccountAuthenticator
public android.os.Bundle updateCredentials(android.accounts.AccountAuthenticatorResponse accountAuthenticatorResponse, android.accounts.Account account, java.lang.String s, android.os.Bundle bundle) throws android.accounts.NetworkErrorException
updateCredentials
in class android.accounts.AbstractAccountAuthenticator
android.accounts.NetworkErrorException
public android.os.Bundle hasFeatures(android.accounts.AccountAuthenticatorResponse accountAuthenticatorResponse, android.accounts.Account account, java.lang.String[] strings) throws android.accounts.NetworkErrorException
hasFeatures
in class android.accounts.AbstractAccountAuthenticator
android.accounts.NetworkErrorException