Class WeatherAuthenticator
AbstractAccountAuthenticator
de.kaffeemitkoffein.tinyweatherforecastgermany.WeatherAuthenticator
public class WeatherAuthenticator extends AbstractAccountAuthenticator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBundleaddAccount(AccountAuthenticatorResponse accountAuthenticatorResponse, String s, String s1, String[] strings, Bundle bundle) BundleconfirmCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, Bundle bundle) BundleeditProperties(AccountAuthenticatorResponse accountAuthenticatorResponse, String s) BundlegetAuthToken(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle) BundlehasFeatures(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String[] strings) BundleupdateCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle)
-
Constructor Details
-
WeatherAuthenticator
public WeatherAuthenticator(Context context)
-
-
Method Details
-
editProperties
-
addAccount
public Bundle addAccount(AccountAuthenticatorResponse accountAuthenticatorResponse, String s, String s1, String[] strings, Bundle bundle) throws NetworkErrorException - Throws:
NetworkErrorException
-
confirmCredentials
public Bundle confirmCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, Bundle bundle) throws NetworkErrorException - Throws:
NetworkErrorException
-
getAuthToken
public Bundle getAuthToken(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle) throws NetworkErrorException - Throws:
NetworkErrorException
-
getAuthTokenLabel
-
updateCredentials
public Bundle updateCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle) throws NetworkErrorException - Throws:
NetworkErrorException
-
hasFeatures
public Bundle hasFeatures(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String[] strings) throws NetworkErrorException - Throws:
NetworkErrorException
-