Sdílet prostřednictvím


AuthBaseInfo Class

Definition

The authentication info Please note AuthBaseInfo 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 SecretAuthInfo, ServicePrincipalCertificateAuthInfo, ServicePrincipalSecretAuthInfo, SystemAssignedIdentityAuthInfo and UserAssignedIdentityAuthInfo.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceLinker.Models.UnknownAuthInfoBase))]
public abstract class AuthBaseInfo : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceLinker.Models.AuthBaseInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceLinker.Models.AuthBaseInfo>
public abstract class AuthBaseInfo
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ServiceLinker.Models.UnknownAuthInfoBase))>]
type AuthBaseInfo = class
    interface IJsonModel<AuthBaseInfo>
    interface IPersistableModel<AuthBaseInfo>
type AuthBaseInfo = class
Public MustInherit Class AuthBaseInfo
Implements IJsonModel(Of AuthBaseInfo), IPersistableModel(Of AuthBaseInfo)
Public MustInherit Class AuthBaseInfo
Inheritance
AuthBaseInfo
Derived
Attributes
Implements

Constructors

AuthBaseInfo()

Initializes a new instance of AuthBaseInfo.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AuthBaseInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AuthBaseInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AuthBaseInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AuthBaseInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AuthBaseInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to