@@ -17,8 +17,8 @@ General Options:
1717================================= =========================================
1818``JWT_TOKEN_LOCATION `` Where to look for a JWT when processing a request. The
1919 options are ``'headers' ``, ``'cookies' ``, ``'query_string' ``, or ``'json' ``. You can pass
20- in a list to check more then one location, such as: `` ['headers', 'cookies'] ``.
21- Defaults to ``'headers' ``
20+ in a sequence or a set to check more then one location, such as:
21+ `` ('headers', 'cookies') ``. Defaults to ``[ 'headers'] ``
2222``JWT_ACCESS_TOKEN_EXPIRES `` How long an access token should live before it expires. This
2323 takes a ``datetime.timedelta ``, and defaults to 15 minutes.
2424 Can be set to ``False `` to disable expiration.
@@ -160,7 +160,7 @@ Blacklist Options:
160160================================= =========================================
161161``JWT_BLACKLIST_ENABLED `` Enable/disable token revoking. Defaults to ``False ``
162162``JWT_BLACKLIST_TOKEN_CHECKS `` What token types to check against the blacklist. The options are
163- ``'refresh' `` or ``'access' ``. You can pass in a list to check
164- more then one type. Defaults to ``[ 'access', 'refresh'] ``.
163+ ``'refresh' `` or ``'access' ``. You can pass in a sequence or a set to check
164+ more then one type. Defaults to ``( 'access', 'refresh') ``.
165165 Only used if blacklisting is enabled.
166166================================= =========================================
0 commit comments