This commit is contained in:
Markos Gogoulos
2025-12-28 15:19:49 +02:00
parent ec6b6daa81
commit 8c682a76af

View File

@@ -121,6 +121,16 @@ class DjangoSessionService:
return False
return state_data.get('nonce') == nonce
def get_cookie(self, key):
"""Get cookie value (for cookie service compatibility)"""
return self.request.COOKIES.get(key)
def set_cookie(self, key, value, exp=3600):
"""Set cookie value (for cookie service compatibility)"""
# Note: Actual cookie setting happens in the response, not here
# This is just for interface compatibility
return True
class DjangoCacheDataStorage:
"""Key/value storage using Django cache"""