1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00

auth: add an option to enforce the secure attr of the set-cookie

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-04-02 18:17:47 +03:00
parent 2f9ddff5a9
commit 872dd45359
4 changed files with 13 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ Headers: # required.
- "X-Authorization"
Cookie: # optional.
Name: "iris_auth_cookie"
Secure: false
Hash: "D*G-KaPdSgUkXp2s5v8y/B?E(H+MbQeThWmYq3t6w9z$C&F)J@NcRfUjXn2r4u7x" # length of 64 characters (512-bit).
Block: "VkYp3s6v9y$B&E)H@McQfTjWmZq4t7w!" # length of 32 characters (256-bit).
Keys: