@@ -53,7 +53,7 @@ def verify_jwt_in_request(optional=False, fresh=False, refresh=False, locations=
53
53
54
54
:param locations:
55
55
A location or list of locations to look for the JWT in this request, for
56
- example ``'headers'`` or ``['headers', 'cookies']``. Defaluts to ``None``
56
+ example ``'headers'`` or ``['headers', 'cookies']``. Defaults to ``None``
57
57
which indicates that JWTs will be looked for in the locations defined by the
58
58
``JWT_TOKEN_LOCATION`` configuration option.
59
59
"""
@@ -97,8 +97,8 @@ def jwt_required(optional=False, fresh=False, refresh=False, locations=None):
97
97
endpoint can be called.
98
98
99
99
:param optional:
100
- If ``True``, allow the decorated endpoint to be if no JWT is present in the
101
- request. Defaults to ``False``.
100
+ If ``True``, allow the decorated endpoint to be accessed if no JWT is present in
101
+ the request. Defaults to ``False``.
102
102
103
103
:param fresh:
104
104
If ``True``, require a JWT marked with ``fresh`` to be able to access this
@@ -110,7 +110,7 @@ def jwt_required(optional=False, fresh=False, refresh=False, locations=None):
110
110
111
111
:param locations:
112
112
A location or list of locations to look for the JWT in this request, for
113
- example ``'headers'`` or ``['headers', 'cookies']``. Defaluts to ``None``
113
+ example ``'headers'`` or ``['headers', 'cookies']``. Defaults to ``None``
114
114
which indicates that JWTs will be looked for in the locations defined by the
115
115
``JWT_TOKEN_LOCATION`` configuration option.
116
116
"""
0 commit comments