Israeli Bank Importer - v1.44.5
    Preparing search index...

    Function bearerSessionOf

    • Reads and verifies a bearer-token session from a request's Authorization header. The scheme match is case-insensitive and the token must be a single non-whitespace run, so a missing or malformed header yields a failure rather than a partial value the verifier would then reject.

      Parameters

      • req: FastifyRequest

        Incoming request.

      • rt: IPortalRuntime

        Live runtime carrying the session secret + current credentials.

      Returns Procedure<ISessionPayload>

      Procedure with the session payload, or failure when absent/invalid/stale.