OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:xsrfutil
(Results
1 - 2
of
2
) sorted by null
/external/python/oauth2client/tests/contrib/
test_xsrfutil.py
15
"""Tests for oauth2client.contrib.
xsrfutil
."""
23
from oauth2client.contrib import
xsrfutil
45
xsrfutil
.generate_token(None)
48
xsrfutil
.generate_token(None, None, None)
54
with mock.patch('oauth2client.contrib.
xsrfutil
.hmac') as hmac:
56
token =
xsrfutil
.generate_token(TEST_KEY,
65
mock.call.update(
xsrfutil
.DELIMITER),
67
mock.call.update(
xsrfutil
.DELIMITER),
72
expected_token_as_bytes = (digest +
xsrfutil
.DELIMITER +
83
with mock.patch('oauth2client.contrib.
xsrfutil
.hmac') as hmac
[
all
...]
/external/python/oauth2client/oauth2client/contrib/
appengine.py
39
from oauth2client.contrib import
xsrfutil
449
token =
xsrfutil
.generate_token(xsrf_secret_key(), user.user_id(),
467
if
xsrfutil
.validate_token(xsrf_secret_key(), token, user.user_id(),
[
all
...]
Completed in 73 milliseconds