Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ General Options:
================================= =========================================
``JWT_TOKEN_LOCATION`` Where to look for a JWT when processing a request. The
options are ``'headers'``, ``'cookies'``, ``'query_string'``, or ``'json'``. You can pass
in a list to check more then one location, such as: ``['headers', 'cookies']``.
Defaults to ``'headers'``
in a sequence or a set to check more then one location, such as:
``('headers', 'cookies')``. Defaults to ``['headers']``
``JWT_ACCESS_TOKEN_EXPIRES`` How long an access token should live before it expires. This
takes a ``datetime.timedelta``, and defaults to 15 minutes.
Can be set to ``False`` to disable expiration.
Expand Down Expand Up @@ -160,7 +160,7 @@ Blacklist Options:
================================= =========================================
``JWT_BLACKLIST_ENABLED`` Enable/disable token revoking. Defaults to ``False``
``JWT_BLACKLIST_TOKEN_CHECKS`` What token types to check against the blacklist. The options are
``'refresh'`` or ``'access'``. You can pass in a list to check
more then one type. Defaults to ``['access', 'refresh']``.
``'refresh'`` or ``'access'``. You can pass in a sequence or a set to check
more then one type. Defaults to ``('access', 'refresh')``.
Only used if blacklisting is enabled.
================================= =========================================