Share via


LegacyMicrosoftAccount Class

Definition

The configuration settings of the legacy Microsoft Account provider.

public class LegacyMicrosoftAccount : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.LegacyMicrosoftAccount>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.LegacyMicrosoftAccount>
type LegacyMicrosoftAccount = class
    interface IJsonModel<LegacyMicrosoftAccount>
    interface IPersistableModel<LegacyMicrosoftAccount>
Public Class LegacyMicrosoftAccount
Implements IJsonModel(Of LegacyMicrosoftAccount), IPersistableModel(Of LegacyMicrosoftAccount)
Inheritance
LegacyMicrosoftAccount
Implements

Constructors

LegacyMicrosoftAccount()

Initializes a new instance of LegacyMicrosoftAccount.

Properties

IsEnabled

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

LoginScopes

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

Registration

The configuration settings of the app registration for the legacy Microsoft Account provider.

ValidationAllowedAudiences

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LegacyMicrosoftAccount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LegacyMicrosoftAccount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LegacyMicrosoftAccount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LegacyMicrosoftAccount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LegacyMicrosoftAccount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to