Helper method to return the Cookie path for the App.
(self, app: Quart)
| 56 | return rv if rv else None |
| 57 | |
| 58 | def get_cookie_path(self, app: Quart) -> str: |
| 59 | """Helper method to return the Cookie path for the App.""" |
| 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.""" |
no outgoing calls