TwitterCreatingTicketContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TwitterCreatingTicketContext(HttpContext, TwitterOptions, String, String, String, String, JObject)
Initializes a TwitterCreatingTicketContext
public:
TwitterCreatingTicketContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::TwitterOptions ^ options, System::String ^ userId, System::String ^ screenName, System::String ^ accessToken, System::String ^ accessTokenSecret, Newtonsoft::Json::Linq::JObject ^ user);
public TwitterCreatingTicketContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.TwitterOptions options, string userId, string screenName, string accessToken, string accessTokenSecret, Newtonsoft.Json.Linq.JObject user);
new Microsoft.AspNetCore.Authentication.Twitter.TwitterCreatingTicketContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.TwitterOptions * string * string * string * string * Newtonsoft.Json.Linq.JObject -> Microsoft.AspNetCore.Authentication.Twitter.TwitterCreatingTicketContext
Public Sub New (context As HttpContext, options As TwitterOptions, userId As String, screenName As String, accessToken As String, accessTokenSecret As String, user As JObject)
Parameters
- context
- HttpContext
The HTTP environment
- options
- TwitterOptions
The options for Twitter
- userId
- String
Twitter user ID
- screenName
- String
Twitter screen name
- accessToken
- String
Twitter access token
- accessTokenSecret
- String
Twitter access token secret
- user
- Newtonsoft.Json.Linq.JObject
User details
Applies to
TwitterCreatingTicketContext(HttpContext, AuthenticationScheme, TwitterOptions, ClaimsPrincipal, AuthenticationProperties, String, String, String, String, JObject)
Initializes a TwitterCreatingTicketContext
public:
TwitterCreatingTicketContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::Twitter::TwitterOptions ^ options, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ userId, System::String ^ screenName, System::String ^ accessToken, System::String ^ accessTokenSecret, Newtonsoft::Json::Linq::JObject ^ user);
public TwitterCreatingTicketContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions options, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string userId, string screenName, string accessToken, string accessTokenSecret, Newtonsoft.Json.Linq.JObject user);
new Microsoft.AspNetCore.Authentication.Twitter.TwitterCreatingTicketContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * string * string * string * string * Newtonsoft.Json.Linq.JObject -> Microsoft.AspNetCore.Authentication.Twitter.TwitterCreatingTicketContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As TwitterOptions, principal As ClaimsPrincipal, properties As AuthenticationProperties, userId As String, screenName As String, accessToken As String, accessTokenSecret As String, user As JObject)
Parameters
- context
- HttpContext
The HTTP environment
- scheme
- AuthenticationScheme
The scheme data
- options
- TwitterOptions
The options for Twitter
- principal
- ClaimsPrincipal
The ClaimsPrincipal.
- properties
- AuthenticationProperties
- userId
- String
Twitter user ID
- screenName
- String
Twitter screen name
- accessToken
- String
Twitter access token
- accessTokenSecret
- String
Twitter access token secret
- user
- Newtonsoft.Json.Linq.JObject
User details
Applies to
TwitterCreatingTicketContext(HttpContext, AuthenticationScheme, TwitterOptions, ClaimsPrincipal, AuthenticationProperties, String, String, String, String, JsonElement)
Initializes a TwitterCreatingTicketContext
public:
TwitterCreatingTicketContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::Twitter::TwitterOptions ^ options, System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ userId, System::String ^ screenName, System::String ^ accessToken, System::String ^ accessTokenSecret, System::Text::Json::JsonElement user);
public TwitterCreatingTicketContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions options, System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string userId, string screenName, string accessToken, string accessTokenSecret, System.Text.Json.JsonElement user);
new Microsoft.AspNetCore.Authentication.Twitter.TwitterCreatingTicketContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions * System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * string * string * string * string * System.Text.Json.JsonElement -> Microsoft.AspNetCore.Authentication.Twitter.TwitterCreatingTicketContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As TwitterOptions, principal As ClaimsPrincipal, properties As AuthenticationProperties, userId As String, screenName As String, accessToken As String, accessTokenSecret As String, user As JsonElement)
Parameters
- context
- HttpContext
The HTTP environment
- scheme
- AuthenticationScheme
The scheme data
- options
- TwitterOptions
The options for Twitter
- principal
- ClaimsPrincipal
The ClaimsPrincipal.
- properties
- AuthenticationProperties
- userId
- String
Twitter user ID
- screenName
- String
Twitter screen name
- accessToken
- String
Twitter access token
- accessTokenSecret
- String
Twitter access token secret
- user
- JsonElement
User details