Share via


ProjectsOpenAIModelFactory.OpenAPIAuthenticationDetails(String) Method

Definition

authentication details for OpenApiFunctionDefinition Please note this is the abstract base class. The derived classes available for instantiation are: OpenAPIAnonymousAuthenticationDetails, OpenAPIProjectConnectionAuthenticationDetails, and OpenAPIManagedAuthenticationDetails.

public static Azure.AI.Projects.OpenAI.OpenAPIAuthenticationDetails OpenAPIAuthenticationDetails(string type = default);
static member OpenAPIAuthenticationDetails : string -> Azure.AI.Projects.OpenAI.OpenAPIAuthenticationDetails
Public Shared Function OpenAPIAuthenticationDetails (Optional type As String = Nothing) As OpenAPIAuthenticationDetails

Parameters

type
String

The type of authentication, must be anonymous/project_connection/managed_identity.

Returns

A new OpenAPIAuthenticationDetails instance for mocking.

Applies to