Class 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
      Bundle addAccount​(AccountAuthenticatorResponse accountAuthenticatorResponse, java.lang.String s, java.lang.String s1, java.lang.String[] strings, Bundle bundle)  
      Bundle confirmCredentials​(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, Bundle bundle)  
      Bundle editProperties​(AccountAuthenticatorResponse accountAuthenticatorResponse, java.lang.String s)  
      Bundle getAuthToken​(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, java.lang.String s, Bundle bundle)  
      java.lang.String getAuthTokenLabel​(java.lang.String s)  
      Bundle hasFeatures​(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, java.lang.String[] strings)  
      Bundle updateCredentials​(AccountAuthenticatorResponse accountAuthenticatorResponse, Account account, java.lang.String s, Bundle bundle)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WeatherAuthenticator

        public WeatherAuthenticator​(Context context)
    • 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