Reference

rotateSession

Rotates a session through a deprecated router session alias.

Signature

const rotateSession: <TData>(request: Request, response: Response, store: SessionStore<TData>, options: SessionCookieOptions): Promise<SessionRecord<TData> | undefined>