def __init__(self, client_id, client_secret, **kwargs): Social.__init__(self, client_id, client_secret, **kwargs) self.access_token_response = AccessTokenResponse try: self._scope = ",".join(self.extra["scope"]) except KeyError: self._scope = "" self.token_response_body_type = "urlencoded"
def __init__(self, consumer_key=None, consumer_secret=None, **kwargs): Social.__init__(self, **kwargs) self.consumer_key = consumer_key self.consumer_secret = consumer_secret self.authn_service_name = "Fall" self.authenticating_authority = "Foo" self.authorize_url = "http://localhost:8088/falltrough"
def __init__(self, client_id, client_secret, **kwargs): Social.__init__(self, client_id, client_secret, **kwargs) try: self.srv_discovery_url = kwargs["srv_discovery_url"] except KeyError: self.srv_discovery_url = None self.flow_type = FLOW_TYPE self.access_token_response = AccessTokenResponse self.client_cls = oic.Client self.authn_method = None
def __init__(self, client_id, client_secret, **kwargs): Social.__init__(self, client_id, client_secret, **kwargs) self.consumer = oauth.Consumer(client_id, client_secret)