TwitterAuthenticatedContext Class

Contains information about the login session as well as the user ClaimsIdentity.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.Provider.BaseContext
    Microsoft.Owin.Security.Twitter.TwitterAuthenticatedContext

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

Syntax

'Declaration
Public Class TwitterAuthenticatedContext _
    Inherits BaseContext
'Usage
Dim instance As TwitterAuthenticatedContext
public class TwitterAuthenticatedContext : BaseContext
public ref class TwitterAuthenticatedContext : public BaseContext
type TwitterAuthenticatedContext =  
    class 
        inherit BaseContext 
    end
public class TwitterAuthenticatedContext extends BaseContext

The TwitterAuthenticatedContext type exposes the following members.

Constructors

  Name Description
Public method TwitterAuthenticatedContext Initializes a TwitterAuthenticatedContext

Top

Properties

  Name Description
Public property AccessToken Gets the Twitter access token
Public property AccessTokenSecret Gets the Twitter access token secret
Public property Identity Gets the ClaimsIdentity representing the user
Public property OwinContext (Inherited from BaseContext.)
Public property Properties Gets or sets a property bag for common authentication properties
Public property Request (Inherited from BaseContext.)
Public property Response (Inherited from BaseContext.)
Public property ScreenName Gets the Twitter screen name
Public property UserId Gets the Twitter user ID

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.Owin.Security.Twitter Namespace