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
System_CAPS_pubmethod TwitterAuthenticatedContext(IOwinContext, String, String, String, String)

Initializes a TwitterAuthenticatedContext

Properties

Name Description
System_CAPS_pubproperty AccessToken

Gets the Twitter access token

System_CAPS_pubproperty AccessTokenSecret

Gets the Twitter access token secret

System_CAPS_pubproperty Identity

Gets the ClaimsIdentity representing the user

System_CAPS_pubproperty OwinContext

(Inherited from BaseContext.)

System_CAPS_pubproperty Properties

Gets or sets a property bag for common authentication properties

System_CAPS_pubproperty Request

(Inherited from BaseContext.)

System_CAPS_pubproperty Response

(Inherited from BaseContext.)

System_CAPS_pubproperty ScreenName

Gets the Twitter screen name

System_CAPS_pubproperty UserId

Gets the Twitter user ID

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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