OnYourDataAccessTokenAuthenticationOptions Class

Definition

The authentication options for Azure OpenAI On Your Data when using access token.

public class OnYourDataAccessTokenAuthenticationOptions : Azure.AI.OpenAI.OnYourDataAuthenticationOptions, System.ClientModel.Primitives.IJsonModel<Azure.AI.OpenAI.OnYourDataAccessTokenAuthenticationOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.OpenAI.OnYourDataAccessTokenAuthenticationOptions>
type OnYourDataAccessTokenAuthenticationOptions = class
    inherit OnYourDataAuthenticationOptions
    interface IJsonModel<OnYourDataAccessTokenAuthenticationOptions>
    interface IPersistableModel<OnYourDataAccessTokenAuthenticationOptions>
Public Class OnYourDataAccessTokenAuthenticationOptions
Inherits OnYourDataAuthenticationOptions
Implements IJsonModel(Of OnYourDataAccessTokenAuthenticationOptions), IPersistableModel(Of OnYourDataAccessTokenAuthenticationOptions)
Inheritance
OnYourDataAccessTokenAuthenticationOptions
Implements

Constructors

OnYourDataAccessTokenAuthenticationOptions(String)

Initializes a new instance of OnYourDataAccessTokenAuthenticationOptions.

Properties

AccessToken

The access token to use for authentication.

Explicit Interface Implementations

IJsonModel<OnYourDataAccessTokenAuthenticationOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OnYourDataAccessTokenAuthenticationOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<OnYourDataAuthenticationOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from OnYourDataAuthenticationOptions)
IJsonModel<OnYourDataAuthenticationOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from OnYourDataAuthenticationOptions)
IPersistableModel<OnYourDataAccessTokenAuthenticationOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OnYourDataAccessTokenAuthenticationOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OnYourDataAccessTokenAuthenticationOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<OnYourDataAuthenticationOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from OnYourDataAuthenticationOptions)
IPersistableModel<OnYourDataAuthenticationOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from OnYourDataAuthenticationOptions)
IPersistableModel<OnYourDataAuthenticationOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from OnYourDataAuthenticationOptions)

Applies to