TwitterAuthenticatedContext Class
Contains information about the login session as well as the user ClaimsIdentity.
Namespace: Microsoft.Owin.Security.Twitter
Assembly: Microsoft.Owin.Security.Twitter (in Microsoft.Owin.Security.Twitter.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Provider.BaseContext
Microsoft.Owin.Security.Twitter.TwitterAuthenticatedContext
Syntax
public class TwitterAuthenticatedContext : BaseContext
public ref class TwitterAuthenticatedContext : BaseContext
type TwitterAuthenticatedContext =
class
inherit BaseContext
end
Public Class TwitterAuthenticatedContext
Inherits BaseContext
Constructors
Name | Description | |
---|---|---|
TwitterAuthenticatedContext(IOwinContext, String, String, String, String) | Initializes a TwitterAuthenticatedContext |
Properties
Name | Description | |
---|---|---|
AccessToken | Gets the Twitter access token |
|
AccessTokenSecret | Gets the Twitter access token secret |
|
Identity | Gets the ClaimsIdentity representing the user |
|
OwinContext | (Inherited from BaseContext.) |
|
Properties | Gets or sets a property bag for common authentication properties |
|
Request | (Inherited from BaseContext.) |
|
Response | (Inherited from BaseContext.) |
|
ScreenName | Gets the Twitter screen name |
|
UserId | Gets the Twitter user ID |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Owin.Security.Twitter Namespace
Return to top