Share via


TwitterRegistration Class

Definition

The configuration settings of the app registration for the Twitter provider.

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

Constructors

TwitterRegistration()

Initializes a new instance of TwitterRegistration.

Properties

ConsumerKey

The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in

ConsumerSecretSettingName

The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TwitterRegistration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TwitterRegistration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TwitterRegistration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TwitterRegistration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TwitterRegistration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to