Revision history of "FastAPI Sessions"

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 11:28, 7 May 2022PeterHarding talk contribs 2,461 bytes +2,461 Created page with "Not sure where this came from - shoul dhave captured the link. <pre> # ============================================================================= # Session setup # ----------------------------------------------------------------------------- class SessionData(BaseModel): username: str cookie_params = CookieParameters() # Uses UUID cookie = SessionCookie( cookie_name="cookie", identifier="general_verifier", auto_error=True, secret_key="DONOTUSE..."