Esempio n. 1
0
 def __init__(self,
              app=None,
              base_url=None,
              consumer_key=None,
              consumer_secret=None,
              **kwargs):
     RauthServiceMixin.__init__(self, app=app, base_url=base_url)
     OAuth2Service.__init__(self,
                            consumer_key=consumer_key,
                            consumer_secret=consumer_secret,
                            **kwargs)
Esempio n. 2
0
 def __init__(self, app=None, base_url=None, consumer_key=None, consumer_secret=None, **kwargs):
     self.name=kwargs['name']
     RauthServiceMixin.__init__(self, app=app, base_url=base_url)
     OAuth2Service.__init__(self, self.consumer_key, self.consumer_secret, **kwargs)
Esempio n. 3
0
 def __init__(self, app=None, base_url=None, consumer_key=None, consumer_secret=None, **kwargs):
     OAuth2Service.__init__(self, consumer_key=consumer_key, consumer_secret=consumer_secret, **kwargs)
     RauthServiceMixin.__init__(self, app=app, base_url=base_url)
Esempio n. 4
0
 def __init__(self, app=None, base_url=None, client_id=None, client_secret=None, **kwargs):
     RauthServiceMixin.__init__(self, app=app, base_url=base_url)
     OAuth2Service.__init__(self, client_id=client_id, client_secret=client_secret,
                            base_url=base_url, **kwargs)
Esempio n. 5
0
def rauthoauth2_fixed_init(self, fapp=None, base_url=None, consumer_key=None, consumer_secret=None, **kwargs):
    # P This line is the fix. The property 'name' is referenced before it is set in the stock code
    self.name = kwargs['name']
    RauthServiceMixin.__init__(self, app=fapp, base_url=base_url)
    OAuth2Service.__init__(self, consumer_key=consumer_key, consumer_secret=consumer_secret, **kwargs)