version 0.0.14: change JWTGeneric view attributes
This commit is contained in:
parent
2fc2b7daed
commit
a848f15399
|
|
@ -11,10 +11,10 @@ from rest_framework import status
|
||||||
class JWTGenericViewMixin(generics.GenericAPIView):
|
class JWTGenericViewMixin(generics.GenericAPIView):
|
||||||
"""JWT view mixin"""
|
"""JWT view mixin"""
|
||||||
|
|
||||||
ACCESS_TOKEN_HTTP_ONLY = True
|
ACCESS_TOKEN_HTTP_ONLY = False
|
||||||
ACCESS_TOKEN_SECURE = False
|
ACCESS_TOKEN_SECURE = False
|
||||||
|
|
||||||
REFRESH_TOKEN_HTTP_ONLY = True
|
REFRESH_TOKEN_HTTP_ONLY = False
|
||||||
REFRESH_TOKEN_SECURE = False
|
REFRESH_TOKEN_SECURE = False
|
||||||
COOKIE = namedtuple('COOKIE', ['key', 'value', 'http_only', 'secure'])
|
COOKIE = namedtuple('COOKIE', ['key', 'value', 'http_only', 'secure'])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user