def __init__(self): LoginBackend.__init__(self) self.service = UBUNTU_SSO_SERVICE # we get a dict here with the following keys: # token # consumer_key (also the openid identifier) # consumer_secret # token_secret # name (that is just 'software-center') self.oauth_credentials = None self._oauth_credentials = None self._login_failure = None self.worker_thread = None
def __init__(self): LoginBackend.__init__(self) self.distro = get_distro() self.oauth_token = None