コード例 #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
コード例 #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
コード例 #3
0
ファイル: launchpad.py プロジェクト: feiying/AppStream
 def __init__(self):
     LoginBackend.__init__(self)
     self.distro = get_distro()
     self.oauth_token = None
コード例 #4
0
 def __init__(self):
     LoginBackend.__init__(self)
     self.distro = get_distro()
     self.oauth_token = None