Returns True if the cookie should be secure. This currently just returns the value of the ``SESSION_COOKIE_SECURE`` setting.
(self, app: Flask)
| 200 | return app.config["SESSION_COOKIE_HTTPONLY"] # type: ignore[no-any-return] |
| 201 | |
| 202 | def get_cookie_secure(self, app: Flask) -> bool: |
| 203 | """Returns True if the cookie should be secure. This currently |
| 204 | just returns the value of the ``SESSION_COOKIE_SECURE`` setting. |
| 205 | """ |
| 206 | return app.config["SESSION_COOKIE_SECURE"] # type: ignore[no-any-return] |
| 207 | |
| 208 | def get_cookie_samesite(self, app: Flask) -> str | None: |
| 209 | """Return ``'Strict'`` or ``'Lax'`` if the cookie should use the |