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

Twitter Class

Definition

The configuration settings of the Twitter provider.

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