SearchModelFactory.McpServerAuthentication(String) Method

Definition

Authentication configuration for an MCP server knowledge source. Please note this is the abstract base class. The derived classes available for instantiation are: McpServerFoundryConnectionAuthentication and McpServerStoredHeadersAuthentication.

public static Azure.Search.Documents.Indexes.Models.McpServerAuthentication McpServerAuthentication(string kind = default);
static member McpServerAuthentication : string -> Azure.Search.Documents.Indexes.Models.McpServerAuthentication
Public Shared Function McpServerAuthentication (Optional kind As String = Nothing) As McpServerAuthentication

Parameters

kind
String

The kind of authentication to use.

Returns

A new McpServerAuthentication instance for mocking.

Applies to