Sdílet prostřednictvím


TwitterAuthenticatedContext Constructor (IOwinContext, String, String, String, String)

 

Initializes a TwitterAuthenticatedContext

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

Syntax

public TwitterAuthenticatedContext(
    IOwinContext context,
    string userId,
    string screenName,
    string accessToken,
    string accessTokenSecret
)
public:
TwitterAuthenticatedContext(
    IOwinContext^ context,
    String^ userId,
    String^ screenName,
    String^ accessToken,
    String^ accessTokenSecret
)
new : 
        context:IOwinContext *
        userId:string *
        screenName:string *
        accessToken:string *
        accessTokenSecret:string -> TwitterAuthenticatedContext
Public Sub New (
    context As IOwinContext,
    userId As String,
    screenName As String,
    accessToken As String,
    accessTokenSecret As String
)

Parameters

  • accessTokenSecret
    Type: System.String

    Twitter access token secret

See Also

TwitterAuthenticatedContext Class
Microsoft.Owin.Security.Twitter Namespace

Return to top