mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-23 12:21:28 +08:00
fixes
This commit is contained in:
@@ -27,3 +27,7 @@ class CsrfViewMiddleware(MiddlewareMixin):
|
||||
def process_response(self, request: HttpRequest, response: HttpResponseBase) -> HttpResponseBase: ...
|
||||
|
||||
def _compare_salted_tokens(request_csrf_token: str, csrf_token: str) -> bool: ...
|
||||
def _get_new_csrf_string() -> str: ...
|
||||
def _salt_cipher_secret(secret: str) -> str: ...
|
||||
def _unsalt_cipher_token(token: str) -> str: ...
|
||||
def _get_new_csrf_token() -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user