Share via


AuthCredentials Class

Definition

Base class for different types of authentication credentials.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.AuthCredentialsTypeConverter))]
public class AuthCredentials : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.IAuthCredentials
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.AuthCredentialsTypeConverter))>]
type AuthCredentials = class
    interface IAuthCredentials
    interface IJsonSerializable
Public Class AuthCredentials
Implements IAuthCredentials
Inheritance
AuthCredentials
Attributes
Implements

Constructors

Name Description
AuthCredentials()

Creates an new AuthCredentials instance.

Properties

Name Description
ObjectType

Type of the specific object - used for deserializing

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AuthCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AuthCredentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.IAuthCredentials. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.IAuthCredentials interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of AuthCredentials, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AuthCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to