Table of Contents

TTMSMCPStreamableHTTPTransport.RequiredScopes Property

Scopes a token must grant before a request is allowed through. Empty by default.

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

Syntax

property RequiredScopes: TStrings;

Remarks

Checked without regard to case once a token has been accepted. Left empty, any accepted token passes. A token missing one of these is answered 403 with a challenge naming the required scopes, which is distinct from the 401 returned for a token that was not accepted at all. Fill the list in place.