Returns the path for which the cookie should be valid. The default implementation uses the value from the ``SESSION_COOKIE_PATH`` config var if it's set, and falls back to ``APPLICATION_ROOT`` or uses ``/`` if it's ``None``.
(self, app: Flask)
| 185 | return app.config["SESSION_COOKIE_DOMAIN"] # type: ignore[no-any-return] |
| 186 | |
| 187 | def get_cookie_path(self, app: Flask) -> str: |
| 188 | """Returns the path for which the cookie should be valid. The |
| 189 | default implementation uses the value from the ``SESSION_COOKIE_PATH`` |
| 190 | config var if it's set, and falls back to ``APPLICATION_ROOT`` or |
| 191 | uses ``/`` if it's ``None``. |
| 192 | """ |
| 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 |