Share via


ServicePrincipalCertificateAuthInfo Class

Definition

The authentication info when authType is servicePrincipal certificate.

public class ServicePrincipalCertificateAuthInfo : Azure.ResourceManager.ServiceLinker.Models.AuthBaseInfo, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceLinker.Models.ServicePrincipalCertificateAuthInfo>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceLinker.Models.ServicePrincipalCertificateAuthInfo>
public class ServicePrincipalCertificateAuthInfo : Azure.ResourceManager.ServiceLinker.Models.AuthBaseInfo
type ServicePrincipalCertificateAuthInfo = class
    inherit AuthBaseInfo
    interface IJsonModel<ServicePrincipalCertificateAuthInfo>
    interface IPersistableModel<ServicePrincipalCertificateAuthInfo>
type ServicePrincipalCertificateAuthInfo = class
    inherit AuthBaseInfo
Public Class ServicePrincipalCertificateAuthInfo
Inherits AuthBaseInfo
Implements IJsonModel(Of ServicePrincipalCertificateAuthInfo), IPersistableModel(Of ServicePrincipalCertificateAuthInfo)
Public Class ServicePrincipalCertificateAuthInfo
Inherits AuthBaseInfo
Inheritance
ServicePrincipalCertificateAuthInfo
Implements

Constructors

ServicePrincipalCertificateAuthInfo(String, Guid, String)

Initializes a new instance of ServicePrincipalCertificateAuthInfo.

Properties

Certificate

ServicePrincipal certificate for servicePrincipal auth.

ClientId

Application clientId for servicePrincipal auth.

PrincipalId

Principal Id for servicePrincipal auth.

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.

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from AuthBaseInfo)
IJsonModel<ServicePrincipalCertificateAuthInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServicePrincipalCertificateAuthInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AuthBaseInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from AuthBaseInfo)
IPersistableModel<ServicePrincipalCertificateAuthInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServicePrincipalCertificateAuthInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServicePrincipalCertificateAuthInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to