iya-sts
    Preparing search index...

    Variable endSessionFor

    endSessionFor: (
        req: any,
        res: any,
        surfaceId: string,
        via: string,
        initiatingEntity: string,
    ) => boolean = ...

    Type Declaration

      • (
            req: any,
            res: any,
            surfaceId: string,
            via: string,
            initiatingEntity: string,
        ): boolean
      • Ends a request's surface session, as a sign-out, and clears the surface's cookie.

        Parameters

        • req: any

          the request

        • res: any

          its response

        • surfaceId: string

          the surface

        • via: string

          what ended it, for the audit row

        • initiatingEntity: string

          who initiated it, for the CAEP event

        Returns boolean

        true when there was a session to end