Home
last modified time | relevance | path

Searched refs:validate_token (Results 1 – 3 of 3) sorted by relevance

/external/python/oauth2client/tests/contrib/
Dtest_xsrfutil.py119 xsrfutil.validate_token(None, None)
122 xsrfutil.validate_token(None, None, None, None)
126 self.assertFalse(xsrfutil.validate_token(key, token, user_id))
131 self.assertFalse(xsrfutil.validate_token(key, token, user_id))
136 self.assertFalse(xsrfutil.validate_token(key, token, user_id))
146 self.assertFalse(xsrfutil.validate_token(key, token, user_id))
155 self.assertFalse(xsrfutil.validate_token(key, token, user_id,
173 self.assertFalse(xsrfutil.validate_token(key, token, user_id,
197 self.assertFalse(xsrfutil.validate_token(key, token, user_id,
214 self.assertTrue(xsrfutil.validate_token(key, token, user_id,
[all …]
/external/python/oauth2client/oauth2client/contrib/
Dxsrfutil.py66 def validate_token(key, token, user_id, action_id="", current_time=None): function
Dappengine.py467 if xsrfutil.validate_token(xsrf_secret_key(), token, user.user_id(),