Helper method to return if the Cookie should be HTTPOnly for the App.
(self, app: Quart)
| 60 | return app.config["SESSION_COOKIE_PATH"] or app.config["APPLICATION_ROOT"] |
| 61 | |
| 62 | def get_cookie_httponly(self, app: Quart) -> bool: |
| 63 | """Helper method to return if the Cookie should be HTTPOnly for the App.""" |
| 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.""" |
no outgoing calls