Class WeatherAuthenticator

AbstractAccountAuthenticator
de.kaffeemitkoffein.tinyweatherforecastgermany.WeatherAuthenticator

public class WeatherAuthenticator extends AbstractAccountAuthenticator
  • Constructor Summary

    Constructors
    Constructor
    Description
    WeatherAuthenticator(Context context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Bundle
    addAccount(AccountAuthenticatorResponse accountAuthenticatorResponse, String s, String s1, 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)
     
     
    Bundle
    hasFeatures(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String[] strings)
     
    Bundle
    updateCredentials(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, String s, Bundle bundle)
     
  • Constructor Details

    • WeatherAuthenticator

      public WeatherAuthenticator(Context context)
  • Method Details

    • editProperties

      public Bundle editProperties(AccountAuthenticatorResponse accountAuthenticatorResponse, String s)
    • 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

      public String getAuthTokenLabel(String s)
    • 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