Share via


TwitterCreatingTicketContext Constructors

Definition

Overloads

TwitterCreatingTicketContext(HttpContext, TwitterOptions, String, String, String, String, JObject)

Initializes a TwitterCreatingTicketContext

TwitterCreatingTicketContext(HttpContext, AuthenticationScheme, TwitterOptions, ClaimsPrincipal, AuthenticationProperties, String, String, String, String, JObject)

Initializes a TwitterCreatingTicketContext

TwitterCreatingTicketContext(HttpContext, AuthenticationScheme, TwitterOptions, ClaimsPrincipal, AuthenticationProperties, String, String, String, String, JsonElement)

Initializes a TwitterCreatingTicketContext

TwitterCreatingTicketContext(HttpContext, TwitterOptions, String, String, String, String, JObject)

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)

Source:
TwitterCreatingTicketContext.cs
Source:
TwitterCreatingTicketContext.cs
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

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)

Source:
TwitterCreatingTicketContext.cs
Source:
TwitterCreatingTicketContext.cs
Source:
TwitterCreatingTicketContext.cs
Source:
TwitterCreatingTicketContext.cs
Source:
TwitterCreatingTicketContext.cs
Source:
TwitterCreatingTicketContext.cs
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

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

Applies to