Returns True if the session cookie should be httponly. This currently just returns the value of the ``SESSION_COOKIE_HTTPONLY`` config var.
(self, app: Flask)
| 193 | return app.config["SESSION_COOKIE_PATH"] or app.config["APPLICATION_ROOT"] # type: ignore[no-any-return] |
| 194 | |
| 195 | def get_cookie_httponly(self, app: Flask) -> bool: |
| 196 | """Returns True if the session cookie should be httponly. This |
| 197 | currently just returns the value of the ``SESSION_COOKIE_HTTPONLY`` |
| 198 | config var. |
| 199 | """ |
| 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 |