Share via


Twitter Class

Definition

The configuration settings of the Twitter provider.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.TwitterTypeConverter))]
public class Twitter : Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.TwitterTypeConverter))>]
type Twitter = class
    interface ITwitter
    interface IJsonSerializable
Public Class Twitter
Implements ITwitter
Inheritance
Twitter
Attributes
Implements

Constructors

Twitter()

Creates an new Twitter instance.

Properties

Enabled

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

RegistrationConsumerKey

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

RegistrationConsumerSecretSettingName

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Twitter.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Twitter.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITwitter.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Twitter into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to