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

    Function registerAuthRoutes

    • Registers the auth-status + password-login + logout + guard routes. Each route derives a live runtime from the boot runtime + the current config in the store (resolveLiveRuntime), so an auth-mode or credential change saved via the UI applies on the next request without a restart. Host/port/session secret stay boot-pinned (a live server cannot rebind or rotate its cookie key).

      Parameters

      • app: FastifyInstance

        Fastify instance.

      • deps: IAuthRouteDeps

        The boot runtime, the config store and the runtime stores.

      Returns { registered: true }

      Confirmation that the auth routes are registered.