Class TenantResolutionContext
- Namespace
- JD.AI.Core.MultiTenancy
- Assembly
- JD.AI.Core.dll
Input context for tenant resolution, abstracted from HTTP specifics so the resolver can be used in non-HTTP contexts (CLI, daemon).
public sealed class TenantResolutionContext
- Inheritance
-
TenantResolutionContext
- Inherited Members
Properties
ApiKey
API key used for authentication, if available.
public string? ApiKey { get; init; }
Property Value
Headers
Request headers (case-insensitive key lookup).
public IDictionary<string, string> Headers { get; init; }
Property Value
UserId
Authenticated user identity, if available.
public string? UserId { get; init; }