共用方式為


OpenApiAuthDetails Class

Definition

authentication details for OpenApiFunctionDefinition Please note OpenApiAuthDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include OpenApiAnonymousAuthDetails, OpenApiConnectionAuthDetails and OpenApiManagedAuthDetails.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Projects.UnknownOpenApiAuthDetails))]
public abstract class OpenApiAuthDetails : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.OpenApiAuthDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.OpenApiAuthDetails>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Projects.UnknownOpenApiAuthDetails))>]
type OpenApiAuthDetails = class
    interface IJsonModel<OpenApiAuthDetails>
    interface IPersistableModel<OpenApiAuthDetails>
Public MustInherit Class OpenApiAuthDetails
Implements IJsonModel(Of OpenApiAuthDetails), IPersistableModel(Of OpenApiAuthDetails)
Inheritance
OpenApiAuthDetails
Derived
Attributes
Implements

Constructors

OpenApiAuthDetails()

Initializes a new instance of OpenApiAuthDetails.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<OpenApiAuthDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<OpenApiAuthDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OpenApiAuthDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OpenApiAuthDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<OpenApiAuthDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to