Skip to main content
Table of Contents

TTMSMCPStreamableHTTPTransport.EnableOAuthDiscovery Property

Whether the channel answers the well-known authorization-server discovery addresses. Defaults to False.

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

Syntax

TMS.MCP.Transport.StreamableHTTP.hppPascalC++
property EnableOAuthDiscovery: Boolean;
__property bool EnableOAuthDiscovery = {read=FEnableOAuthDiscovery, write=FEnableOAuthDiscovery, default=0};

Default: False

Remarks

With this on, the channel serves a discovery document of its own, describing itself as the issuer. It is independent of TTMSMCPStreamableHTTPTransport.RequireBearerAuthentication: turning it on publishes a document but does not make the channel check tokens, and turning authentication on does not require this. Leave it off when a separate authorization server already publishes that document.