Table of Contents

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

string

Headers

Request headers (case-insensitive key lookup).

public IDictionary<string, string> Headers { get; init; }

Property Value

IDictionary<string, string>

UserId

Authenticated user identity, if available.

public string? UserId { get; init; }

Property Value

string