共用方式為


UpstreamAuthSettings Class

Definition

Upstream auth settings. If not set, no auth is used for upstream messages.

public class UpstreamAuthSettings
public class UpstreamAuthSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.WebPubSub.Models.UpstreamAuthSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.WebPubSub.Models.UpstreamAuthSettings>
type UpstreamAuthSettings = class
type UpstreamAuthSettings = class
    interface IJsonModel<UpstreamAuthSettings>
    interface IPersistableModel<UpstreamAuthSettings>
Public Class UpstreamAuthSettings
Public Class UpstreamAuthSettings
Implements IJsonModel(Of UpstreamAuthSettings), IPersistableModel(Of UpstreamAuthSettings)
Inheritance
UpstreamAuthSettings
Implements

Constructors

UpstreamAuthSettings()

Initializes a new instance of UpstreamAuthSettings.

Properties

AuthType

Upstream auth type enum.

ManagedIdentityResource

The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<UpstreamAuthSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UpstreamAuthSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UpstreamAuthSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UpstreamAuthSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UpstreamAuthSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to