Commit 48b8706d authored by Titouan Soulard's avatar Titouan Soulard

ERP5Security: add revision key to OAuth constants

parent 4ca19b27
...@@ -66,6 +66,7 @@ JWT_PAYLOAD_USER_ID_KEY = 'u' ...@@ -66,6 +66,7 @@ JWT_PAYLOAD_USER_ID_KEY = 'u'
JWT_PAYLOAD_CLIENT_REFERENCE_KEY = 'R' JWT_PAYLOAD_CLIENT_REFERENCE_KEY = 'R'
JWT_PAYLOAD_USER_CAPTION_KEY = 'C' JWT_PAYLOAD_USER_CAPTION_KEY = 'C'
JWT_PAYLOAD_SCOPE_LIST_KEY = 'S' JWT_PAYLOAD_SCOPE_LIST_KEY = 'S'
JWT_PAYLOAD_REFRESH_TOKEN_REVISION_KEY = 'rev'
# Keys used in request private dict (see __getRequestPrivateDict). # Keys used in request private dict (see __getRequestPrivateDict).
_PRIVATE_USER_PROPERTY_DICT_KEY = 'property_dict' _PRIVATE_USER_PROPERTY_DICT_KEY = 'property_dict'
_PRIVATE_TOKEN_KEY = 'token' _PRIVATE_TOKEN_KEY = 'token'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment