Skip to content

Commit

Permalink
Update docs according to #215
Browse files Browse the repository at this point in the history
  • Loading branch information
illia-v authored and vimalloc committed Jan 10, 2019
1 parent 03d76f5 commit b4ab25a
Showing 1 changed file with 4 additions and 4 deletions.
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.
================================= =========================================

0 comments on commit b4ab25a

Please sign in to comment.