TwitterCreatingTicketContext 构造函数

定义

重载

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

初始化 TwitterCreatingTicketContext

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

初始化 TwitterCreatingTicketContext

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

初始化 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)

参数

context
HttpContext

HTTP 环境

options
TwitterOptions

Twitter 的选项

userId
String

Twitter 用户 ID

screenName
String

Twitter 屏幕名称

accessToken
String

Twitter 访问令牌

accessTokenSecret
String

Twitter 访问令牌机密

user
Newtonsoft.Json.Linq.JObject

用户详细信息

适用于

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)

参数

context
HttpContext

HTTP 环境

scheme
AuthenticationScheme

方案数据

options
TwitterOptions

Twitter 的选项

userId
String

Twitter 用户 ID

screenName
String

Twitter 屏幕名称

accessToken
String

Twitter 访问令牌

accessTokenSecret
String

Twitter 访问令牌机密

user
Newtonsoft.Json.Linq.JObject

用户详细信息

适用于

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
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)

参数

context
HttpContext

HTTP 环境

scheme
AuthenticationScheme

方案数据

options
TwitterOptions

Twitter 的选项

userId
String

Twitter 用户 ID

screenName
String

Twitter 屏幕名称

accessToken
String

Twitter 访问令牌

accessTokenSecret
String

Twitter 访问令牌机密

user
JsonElement

用户详细信息

适用于