summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorWiliam Souza <wiliamsouza83@gmail.com>2018-01-30 17:30:26 -0200
committerOmer Katz <omer.drow@gmail.com>2018-01-30 21:30:26 +0200
commit2fe1cdb88e076f624824496c4aba6a8665e991d9 (patch)
tree494c371a83c8d23b87d6ea97ba3933a2ca8f5cda /setup.py
parentd7fc1336d81b39f3d2193eb3155ff66da6caadd9 (diff)
downloadoauthlib-2fe1cdb88e076f624824496c4aba6a8665e991d9.tar.gz
Openid connect jwt (#488)
* Add JWT token with it the server knows how to validate this new type of token in resource requests * Change find_token_type sorted function to reverse result and choose the valued estimated token handler * Add validate_id_token method to RequestValidator * Added unittest for JWTToken model * Updated version of Mock * Add get_jwt_bearer_token and validate_jwt_bearer_token oauthlib.oauth2.RequestValidator and change oauthlib.oauth2.tokens JWTToken to use it * Change to improve token type estimate test * Add a note in RequestValidator.validate_jwt_bearer_token about error 5xx rather 4xx
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 43f4d95..4640ec8 100755
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ def fread(fn):
if sys.version_info[0] == 3:
tests_require = ['nose', 'cryptography', 'pyjwt>=1.0.0', 'blinker']
else:
- tests_require = ['nose', 'unittest2', 'cryptography', 'mock', 'pyjwt>=1.0.0', 'blinker']
+ tests_require = ['nose', 'unittest2', 'cryptography', 'mock>=2.0', 'pyjwt>=1.0.0', 'blinker']
rsa_require = ['cryptography']
signedtoken_require = ['cryptography', 'pyjwt>=1.0.0']
signals_require = ['blinker']