FleetSpartan

Worker API

Background & long-running services for the FleetSpartan platform

workerapi.spartanshieldservice.com

Service Running
2.4.9651.38468
Version
Production
Environment
6d9b3c9fea4a
Machine
REST
Protocol

JWT Bearer Auth

OIDC bearer tokens validated against the FS.Identity provider. Anonymous endpoints opt out per-route via AllowAnonymous.

Multi-Tenant Routing

Acting-tenant resolution via X-Acting-Company-Id / X-Acting-Account-Id headers, gated by the tenant authorizer.

Modular Endpoints

Domain class libraries register routes via IEndpointModule; reflection-driven discovery means new modules drop in without Program.cs edits.

API ENDPOINTS

Host
Companies Module
Authenticated routes require a Bearer token; tenant-scoped routes additionally require the X-Acting-Company-Id header.