Share via


ClientRegistration Class

Definition

The configuration settings of the app registration for providers that have client ids and client secrets.

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

Constructors

ClientRegistration()

Initializes a new instance of ClientRegistration.

Properties

ClientId

The Client ID of the app used for login.

ClientSecretSettingName

The app setting name that contains the client secret.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ClientRegistration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ClientRegistration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClientRegistration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClientRegistration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ClientRegistration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to