code: def get_auth_token(self, is_retry=False):
          
          if not isinstance(self._username, str):
              raise BlinkAuthenticationException(ERROR.USERNAME)
          if not isinstance(self._password, str):
              raise BlinkAuthenticationException(ERROR.PASSWORD)
  
          login_urls = [LOGIN_URL, OLD_LOGIN_URL, LOGIN_BACKUP_URL]
  
          response = self.login_request(login_urls, is_retry=is_retry)
  
          if not response:
              return False
  
          self._host = "{}.{}".format(self.region_id, BLINK_URL)
          self._token = response['authtoken']['authtoken']
          self.networks = response['networks']
  
          self._auth_header = {'Host': self._host,
                               'TOKEN_AUTH': self._token}
          self.urls = BlinkURLHandler(self.region_id)
  
          return self._auth_header
docs: Retrieve the authentication token from Blink.