Class WeatherAuthenticator
- java.lang.Object
-
- AbstractAccountAuthenticator
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.WeatherAuthenticator
-
public class WeatherAuthenticator extends AbstractAccountAuthenticator
-
-
Constructor Summary
Constructors Constructor Description WeatherAuthenticator(Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BundleaddAccount(AccountAuthenticatorResponse accountAuthenticatorResponse, java.lang.String s, java.lang.String s1, java.lang.String[] strings, Bundle bundle)BundleconfirmCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, Bundle bundle)BundleeditProperties(AccountAuthenticatorResponse accountAuthenticatorResponse, java.lang.String s)BundlegetAuthToken(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, java.lang.String s, Bundle bundle)java.lang.StringgetAuthTokenLabel(java.lang.String s)BundlehasFeatures(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, java.lang.String[] strings)BundleupdateCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, java.lang.String s, Bundle bundle)
-
-
-
Method Detail
-
editProperties
public Bundle editProperties(AccountAuthenticatorResponse accountAuthenticatorResponse, java.lang.String s)
-
addAccount
public Bundle addAccount(AccountAuthenticatorResponse accountAuthenticatorResponse, java.lang.String s, java.lang.String s1, java.lang.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, java.lang.String s, Bundle bundle) throws NetworkErrorException- Throws:
NetworkErrorException
-
getAuthTokenLabel
public java.lang.String getAuthTokenLabel(java.lang.String s)
-
updateCredentials
public Bundle updateCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, java.lang.String s, Bundle bundle) throws NetworkErrorException- Throws:
NetworkErrorException
-
hasFeatures
public Bundle hasFeatures(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, java.lang.String[] strings) throws NetworkErrorException- Throws:
NetworkErrorException
-
-