Lines Matching refs:validate_token
119 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,
232 self.assertTrue(xsrfutil.validate_token(TEST_KEY,
240 self.assertTrue(xsrfutil.validate_token(TEST_KEY,
248 self.assertFalse(xsrfutil.validate_token(TEST_KEY,
255 self.assertFalse(xsrfutil.validate_token('another key',
262 self.assertFalse(xsrfutil.validate_token(TEST_KEY,
269 self.assertFalse(xsrfutil.validate_token(TEST_KEY,
276 self.assertFalse(xsrfutil.validate_token(TEST_KEY,
283 self.assertFalse(xsrfutil.validate_token(TEST_KEY,
290 self.assertFalse(xsrfutil.validate_token(TEST_KEY,