Exemplo n.º 1
0
 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
Exemplo n.º 2
0
 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
Exemplo n.º 3
0
 def __init__(self):
     LoginBackend.__init__(self)
     self.distro = get_distro()
     self.oauth_token = None
Exemplo n.º 4
0
 def __init__(self):
     LoginBackend.__init__(self)
     self.distro = get_distro()
     self.oauth_token = None