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
context
Type: Microsoft.Owin.IOwinContextThe OWIN environment
userId
Type: System.StringTwitter user ID
screenName
Type: System.StringTwitter screen name
accessToken
Type: System.StringTwitter access token
accessTokenSecret
Type: System.StringTwitter access token secret
See Also
TwitterAuthenticatedContext Class
Microsoft.Owin.Security.Twitter Namespace
Return to top