Twitterizer 2 Documentation
OAuthTokens Class
NamespacesTwitterizerOAuthTokens
Contains security tokens nessisary for performing authorized actions against the Twitter API
Declaration Syntax
C#Visual Basic
[SerializableAttribute]
public class OAuthTokens
<SerializableAttribute> _
Public Class OAuthTokens
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
OAuthTokens()()()()
Initializes a new instance of the OAuthTokens class

AccessToken
Gets or sets the access token.

AccessTokenSecret
Gets or sets the access token secret.

ConsumerKey
Gets or sets the consumer key.

ConsumerSecret
Gets or sets the consumer secret.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Examples
To perform authorized actions, you must create a new OAuthTokens variable and supply values for the ConsumerKey, ConsumerSecret, AccessToken, and AccessTokenSecret properties, as follows:
CopyC#
OAuthTokens tokens = new OAuthTokens();
tokens.AccessToken = "XXX";
tokens.AccessTokenSecret = "XXX";
tokens.ConsumerKey = "XXX";
tokens.ConsumerSecret = "XXX";
CopyVB.NET
Dim tokens As new OAuthTokens();
tokens.AccessToken = "XXX"
tokens.AccessTokenSecret = "XXX"
tokens.ConsumerKey = "XXX"
tokens.ConsumerSecret = "XXX"
Inheritance Hierarchy
Object
OAuthTokens
See Also

Assembly: Twitterizer2 (Module: Twitterizer2) Version: 2.3.2.40349 (2.3.2.0)