iya-sts
    Preparing search index...
    afterSignIn: (req: any, res: any, spec: any) => any = ...

    Type Declaration

      • (req: any, res: any, spec: any): any
      • Runs after a session starts in a browser: reissues a recognised browser's token with the next generation, or remembers a new one when asked.

        A copied, unreadable or compromised cookie is cleared.

        Parameters

        • req: any

          the request

        • res: any

          the response the cookie is set on

        • spec: any

          username, recognized (the device fact), secondFactor and remember

        Returns any

        ok and what was done: none, cleared, reissued, kept, remembered or already