Returns True if the cookie should be partitioned. By default, uses the value of :data:`SESSION_COOKIE_PARTITIONED`. .. versionadded:: 3.1
(self, app: Flask)
| 213 | return app.config["SESSION_COOKIE_SAMESITE"] # type: ignore[no-any-return] |
| 214 | |
| 215 | def get_cookie_partitioned(self, app: Flask) -> bool: |
| 216 | """Returns True if the cookie should be partitioned. By default, uses |
| 217 | the value of :data:`SESSION_COOKIE_PARTITIONED`. |
| 218 | |
| 219 | .. versionadded:: 3.1 |
| 220 | """ |
| 221 | return app.config["SESSION_COOKIE_PARTITIONED"] # type: ignore[no-any-return] |
| 222 | |
| 223 | def get_expiration_time(self, app: Flask, session: SessionMixin) -> datetime | None: |
| 224 | """A helper method that returns an expiration date for the session |