MCPcopy Create free account
hub / github.com/pallets/quart / get_cookie_secure

Method get_cookie_secure

src/quart/sessions.py:66–68  ·  view source on GitHub ↗

Helper method to return if the Cookie should be Secure for the App.

(self, app: Quart)

Source from the content-addressed store, hash-verified

64 return app.config["SESSION_COOKIE_HTTPONLY"]
65
66 def get_cookie_secure(self, app: Quart) -> bool:
67 """Helper method to return if the Cookie should be Secure for the App."""
68 return app.config["SESSION_COOKIE_SECURE"]
69
70 def get_cookie_samesite(self, app: Quart) -> str:
71 """Helper method to return the Cookie Samesite configuration for the App."""

Calls

no outgoing calls