TwitterAuthenticatedContext Constructor
Initializes a TwitterAuthenticatedContext
Namespace: Microsoft.Owin.Security.Twitter
Assembly: Microsoft.Owin.Security.Twitter (in Microsoft.Owin.Security.Twitter.dll)
Syntax
'Declaration
Public Sub New ( _
context As IOwinContext, _
userId As String, _
screenName As String, _
accessToken As String, _
accessTokenSecret As String _
)
'Usage
Dim context As IOwinContext
Dim userId As String
Dim screenName As String
Dim accessToken As String
Dim accessTokenSecret As String
Dim instance As New TwitterAuthenticatedContext(context, _
userId, screenName, accessToken, _
accessTokenSecret)
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 function TwitterAuthenticatedContext(
context : IOwinContext,
userId : String,
screenName : String,
accessToken : String,
accessTokenSecret : String
)
Parameters
- context
Type: Microsoft.Owin.IOwinContext
The OWIN environment
- userId
Type: System.String
Twitter user ID
- screenName
Type: System.String
Twitter screen name
- accessToken
Type: System.String
Twitter access token
- accessTokenSecret
Type: System.String
Twitter access token secret