你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LegacyMicrosoftAccount Class

Definition

The configuration settings of the legacy Microsoft Account provider.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.LegacyMicrosoftAccountTypeConverter))]
public class LegacyMicrosoftAccount : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ILegacyMicrosoftAccount
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.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.Websites.Models.Api20210201.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.

ToString()

Applies to