Table of Contents

Class TeamContextOptions

Namespace
Tharga.Team.Service
Assembly
Tharga.Team.Service.dll

Configuration for how a request names the team it acts on.

public sealed class TeamContextOptions
Inheritance
TeamContextOptions
Inherited Members

Properties

TeamKeyHeader

Header a system API key names the target team in. Default X-Team-Key.

public string TeamKeyHeader { get; set; }

Property Value

string

Remarks

The one place this name is configured. MCP reads it from here too — it briefly had its own copy, which a host could have set on one surface and not the other, leaving the same call named differently depending on the door. That is the shape ConsentOptions had to be rescued from, and it is not worth repeating for a string.

A team API key needs no header at all: its team cannot be anything other than its own, and naming a different one is refused rather than ignored.