diff --git a/docs/options.rst b/docs/options.rst index 9381ad31..a3797546 100644 --- a/docs/options.rst +++ b/docs/options.rst @@ -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. @@ -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. ================================= =========================================