Commit b7aa466a authored by Łukasz Nowak's avatar Łukasz Nowak

Drop duplicated method.

parent 67c0f5b3
......@@ -93,12 +93,6 @@ def Google_setServerToken(self, key, body):
def Google_getServerToken(self, key):
return getServerToken(self, key, 'google_server_auth_token_cache_factory')
def Facebook_getAccessTokenFromCode(self, code, redirect_uri):
return facebook.get_access_token_from_code(code=code,
redirect_uri=redirect_uri,
app_id=self.portal_preferences.getPreferredVifibFacebookApplicationId(),
app_secret=self.portal_preferences.getPreferredVifibFacebookApplicationSecret())
def Google_getAccessTokenFromCode(self, code, redirect_uri):
connection_kw = {'host': 'accounts.google.com', 'timeout': 30}
connection = httplib.HTTPSConnection(**connection_kw)
......
392
\ No newline at end of file
393
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment