From 045e607181806a6b9ce2c2a33edadf10e80f5df0 Mon Sep 17 00:00:00 2001 From: haiyanghe Date: Wed, 19 Dec 2018 23:24:30 +0000 Subject: [PATCH] Corrected typo in docstrings --- flask_jwt_extended/view_decorators.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flask_jwt_extended/view_decorators.py b/flask_jwt_extended/view_decorators.py index e7d19998..509ad161 100644 --- a/flask_jwt_extended/view_decorators.py +++ b/flask_jwt_extended/view_decorators.py @@ -23,7 +23,7 @@ def verify_jwt_in_request(): """ - Ensure that the requeste has a valid access token. This does not check the + Ensure that the requester has a valid access token. This does not check the freshness of the access token. Raises an appropiate exception there is no token or if the token is invalid. """ @@ -57,7 +57,7 @@ def verify_jwt_in_request_optional(): def verify_fresh_jwt_in_request(): """ - Ensure that the requeste has a valid and fresh access token. Raises an + Ensure that the requester has a valid and fresh access token. Raises an appropiate exception if there is no token, the token is invalid, or the token is not marked as fresh. """ @@ -78,7 +78,7 @@ def verify_fresh_jwt_in_request(): def verify_jwt_refresh_token_in_request(): """ - Ensure that the requeste has a valid refresh token. Raises an appropiate + Ensure that the requester has a valid refresh token. Raises an appropiate exception if there is no token or the token is invalid. """ if request.method not in config.exempt_methods: