|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AbstractAccountAuthenticator com.vodafone360.people.service.Authenticator
public class Authenticator
This class is an implementation of AbstractAccountAuthenticator for authenticating accounts in the 360 People Account space.
Field Summary | |
---|---|
static java.lang.String |
ACTION_ONE_ACCOUNT_ONLY_INTENT
Intent action to send to StartActivity activity. |
private MainApplication |
mApplication
|
Constructor Summary | |
---|---|
Authenticator(Context context,
MainApplication application)
Constructor |
Method Summary | |
---|---|
Bundle |
addAccount(AccountAuthenticatorResponse response,
java.lang.String accountType,
java.lang.String authTokenType,
java.lang.String[] requiredFeatures,
Bundle options)
|
Bundle |
confirmCredentials(AccountAuthenticatorResponse response,
Account account,
Bundle options)
|
Bundle |
editProperties(AccountAuthenticatorResponse response,
java.lang.String accountType)
|
Bundle |
getAccountRemovalAllowed(AccountAuthenticatorResponse response,
Account account)
|
Bundle |
getAuthToken(AccountAuthenticatorResponse response,
Account account,
java.lang.String authTokenType,
Bundle loginOptions)
|
java.lang.String |
getAuthTokenLabel(java.lang.String authTokenType)
|
Bundle |
hasFeatures(AccountAuthenticatorResponse response,
Account account,
java.lang.String[] features)
|
Bundle |
updateCredentials(AccountAuthenticatorResponse response,
Account account,
java.lang.String authTokenType,
Bundle loginOptions)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final MainApplication mApplication
public static final java.lang.String ACTION_ONE_ACCOUNT_ONLY_INTENT
Constructor Detail |
---|
public Authenticator(Context context, MainApplication application)
context
- Context passed to superclassapplication
- MainApplication object needed to remove user dataMethod Detail |
---|
public Bundle addAccount(AccountAuthenticatorResponse response, java.lang.String accountType, java.lang.String authTokenType, java.lang.String[] requiredFeatures, Bundle options)
public Bundle getAccountRemovalAllowed(AccountAuthenticatorResponse response, Account account) throws NetworkErrorException
NetworkErrorException
public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options)
public Bundle editProperties(AccountAuthenticatorResponse response, java.lang.String accountType)
public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, java.lang.String authTokenType, Bundle loginOptions)
public java.lang.String getAuthTokenLabel(java.lang.String authTokenType)
public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, java.lang.String[] features)
public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, java.lang.String authTokenType, Bundle loginOptions)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaDoc