Share via


TwitterAuthenticationOptions.ConsumerKey Property

Gets or sets the consumer key used to communicate with Twitter.

Namespace:  Microsoft.Owin.Security.Twitter
Assembly:  Microsoft.Owin.Security.Twitter (in Microsoft.Owin.Security.Twitter.dll)

Syntax

'Declaration
Public Property ConsumerKey As String 
    Get 
    Set
'Usage
Dim instance As TwitterAuthenticationOptions 
Dim value As String 

value = instance.ConsumerKey

instance.ConsumerKey = value
public string ConsumerKey { get; set; }
public:
property String^ ConsumerKey {
    String^ get ();
    void set (String^ value);
}
member ConsumerKey : string with get, set
function get ConsumerKey () : String 
function set ConsumerKey (value : String)

Property Value

Type: System.String
The consumer key used to communicate with Twitter.

See Also

Reference

TwitterAuthenticationOptions Class

Microsoft.Owin.Security.Twitter Namespace