Table of Contents

TTMSMCPStreamableHTTPTransport.OAuthMetadata Property

Discovery document to serve instead of the one the channel would build. nil by default.

API unit family: TMS.MCP.Transport.StreamableHTTP Declaring type: TTMSMCPStreamableHTTPTransport Type: TJSONObject

Syntax

property OAuthMetadata: TJSONObject;

Remarks

Only consulted while TTMSMCPStreamableHTTPTransport.EnableOAuthDiscovery is on. The object stays the caller's: the channel neither takes a copy nor frees it, so it must outlive the channel and be freed by whoever created it. Set it when discovery must point at a real authorization server rather than at this channel.