Share via


ServicePrincipalSecretAuthInfo Class

Definition

The authentication info when authType is servicePrincipal secret.

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

Constructors

Name Description
ServicePrincipalSecretAuthInfo(String, Guid, String)

Initializes a new instance of ServicePrincipalSecretAuthInfo.

Properties

Name Description
ClientId

ServicePrincipal application clientId for servicePrincipal auth.

PrincipalId

Principal Id for servicePrincipal auth.

Secret

Secret for servicePrincipal auth.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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<ServicePrincipalSecretAuthInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServicePrincipalSecretAuthInfo>.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<ServicePrincipalSecretAuthInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServicePrincipalSecretAuthInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServicePrincipalSecretAuthInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to