TwitterCreatingTicketContext 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)
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 的選項
- principal
- ClaimsPrincipal
- properties
- AuthenticationProperties
- 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)
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 的選項
- principal
- ClaimsPrincipal
- properties
- AuthenticationProperties
- userId
- String
Twitter 使用者 ID
- screenName
- String
Twitter 畫面名稱
- accessToken
- String
Twitter 存取語彙基元
- accessTokenSecret
- String
Twitter 存取語彙基元密碼
- user
- JsonElement
使用者詳細資料