def __init__(self, consumer=None, oauth_key=None, oauth_secret=None, request_attributes=None, *args, **kwargs): """Handle Google Auth This also handles making an OAuth request during the OpenID authentication. """ OpenIDResponder.__init__(self, domain) self.consumer_key = self.config.get('consumer_key') self.consumer_secret = self.config.get('consumer_secret')
def __init__(self, consumer=None, oauth_key=None, oauth_secret=None, request_attributes=None, *args, **kwargs): """Handle Google Auth This also handles making an OAuth request during the OpenID authentication. """ OpenIDResponder.__init__(self, domain) self.consumer_key = str(self.config.get("consumer_key")) self.consumer_secret = str(self.config.get("consumer_secret")) self.provider = request.POST.get("domain", domain) # support for google apps domains self.consumer_class = GoogleConsumer
def __init__(self, consumer=None, oauth_key=None, oauth_secret=None, request_attributes=None, *args, **kwargs): """Handle Google Auth This also handles making an OAuth request during the OpenID authentication. """ OpenIDResponder.__init__(self, domain) self.consumer_key = str(self.config.get('consumer_key')) self.consumer_secret = str(self.config.get('consumer_secret')) self.provider = request.POST.get('domain', domain) # support for google apps domains self.consumer_class = GoogleConsumer
def __init__(self, consumer=None, oauth_key=None, oauth_secret=None, request_attributes=None, *args, **kwargs): """Handle Google Auth This also handles making an OAuth request during the OpenID authentication. """ OpenIDResponder.__init__(self, domain) self.consumer_key = self.config.get("consumer_key") self.consumer_secret = self.config.get("consumer_secret") if not asbool(self.config.get("verified")): self.return_to_query["domain_unverified"] = 1 # yahoo openid only works in stateless mode, do not use the openid_store self.openid_store = None
def __init__(self, consumer=None, oauth_key=None, oauth_secret=None, request_attributes=None, *args, **kwargs): """Handle Google Auth This also handles making an OAuth request during the OpenID authentication. """ OpenIDResponder.__init__(self, domain) self.consumer_key = self.config.get('consumer_key') self.consumer_secret = self.config.get('consumer_secret') if not asbool(self.config.get('verified')): self.return_to_query['domain_unverified']=1 # yahoo openid only works in stateless mode, do not use the openid_store self.openid_store = None