Partager via


LegacyMicrosoftAccount Class

Definition

The configuration settings of the legacy Microsoft Account provider.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.LegacyMicrosoftAccountTypeConverter))]
public class LegacyMicrosoftAccount : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ILegacyMicrosoftAccount
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.LegacyMicrosoftAccountTypeConverter))>]
type LegacyMicrosoftAccount = class
    interface ILegacyMicrosoftAccount
    interface IJsonSerializable
Public Class LegacyMicrosoftAccount
Implements ILegacyMicrosoftAccount
Inheritance
LegacyMicrosoftAccount
Attributes
Implements

Constructors

LegacyMicrosoftAccount()

Creates an new LegacyMicrosoftAccount instance.

Properties

Enabled

false if the legacy Microsoft Account provider should not be enabled despite the set registration; otherwise, true.

LoginScope

A list of the scopes that should be requested while authenticating.

RegistrationClientId

The Client ID of the app used for login.

RegistrationClientSecretSettingName

The app setting name that contains the client secret.

ValidationAllowedAudience

The configuration settings of the allowed list of audiences from which to validate the JWT token.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LegacyMicrosoftAccount.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LegacyMicrosoftAccount.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ILegacyMicrosoftAccount.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of LegacyMicrosoftAccount into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to