get_cookie_signer
Returns a Signer instance configured for cookie signing using the specified salt, the configured signing backend, and keys derived from the application's secret settings.
def get_cookie_signer(
salt: string = django.core.signing.get_cookie_signer
) - > Signer
Returns a Signer instance configured for cookie signing using the project's signing backend and secret keys.
Parameters
| Name | Type | Description |
|---|---|---|
| salt | string = django.core.signing.get_cookie_signer | A salt value used to provide additional entropy and namespace the signed cookie data. |
Returns
| Type | Description |
|---|---|
Signer | A Signer object initialized with the primary secret key, fallback keys for rotation, and the specified salt. |