OAuthCreatingTicketContext 建構函式

定義

多載

OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse)

初始化新的 OAuthCreatingTicketContext

OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)

初始化新的 OAuthCreatingTicketContext

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse)

初始化新的 OAuthCreatingTicketContext

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)

初始化新的 OAuthCreatingTicketContext

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JsonElement)

初始化新的 OAuthCreatingTicketContext

OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse)

初始化新的 OAuthCreatingTicketContext

public:
 OAuthCreatingTicketContext(Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket, Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::OAuthOptions ^ options, System::Net::Http::HttpClient ^ backchannel, Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ tokens);
public OAuthCreatingTicketContext (Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.OAuthOptions options, System.Net.Http.HttpClient backchannel, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext : Microsoft.AspNetCore.Authentication.AuthenticationTicket * Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.OAuthOptions * System.Net.Http.HttpClient * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext
Public Sub New (ticket As AuthenticationTicket, context As HttpContext, options As OAuthOptions, backchannel As HttpClient, tokens As OAuthTokenResponse)

參數

context
HttpContext

HTTP 環境。

options
OAuthOptions

驗證中介軟體所使用的選項。

backchannel
HttpClient

驗證中介軟體所使用的 HTTP 用戶端

tokens
OAuthTokenResponse

從權杖端點傳回的權杖。

適用於

OAuthCreatingTicketContext(AuthenticationTicket, HttpContext, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)

初始化新的 OAuthCreatingTicketContext

public:
 OAuthCreatingTicketContext(Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket, Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::OAuthOptions ^ options, System::Net::Http::HttpClient ^ backchannel, Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ tokens, Newtonsoft::Json::Linq::JObject ^ user);
public OAuthCreatingTicketContext (Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.OAuthOptions options, System.Net.Http.HttpClient backchannel, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens, Newtonsoft.Json.Linq.JObject user);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext : Microsoft.AspNetCore.Authentication.AuthenticationTicket * Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.OAuthOptions * System.Net.Http.HttpClient * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse * Newtonsoft.Json.Linq.JObject -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext
Public Sub New (ticket As AuthenticationTicket, context As HttpContext, options As OAuthOptions, backchannel As HttpClient, tokens As OAuthTokenResponse, user As JObject)

參數

context
HttpContext

HTTP 環境。

options
OAuthOptions

驗證中介軟體所使用的選項。

backchannel
HttpClient

驗證中介軟體所使用的 HTTP 用戶端

tokens
OAuthTokenResponse

從權杖端點傳回的權杖。

user
Newtonsoft.Json.Linq.JObject

JSON 序列化的使用者。

適用於

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse)

來源:
OAuthCreatingTicketContext.cs
來源:
OAuthCreatingTicketContext.cs

初始化新的 OAuthCreatingTicketContext

public:
 OAuthCreatingTicketContext(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::OAuth::OAuthOptions ^ options, System::Net::Http::HttpClient ^ backchannel, Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ tokens);
public OAuthCreatingTicketContext (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions options, System.Net.Http.HttpClient backchannel, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions * System.Net.Http.HttpClient * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext
Public Sub New (principal As ClaimsPrincipal, properties As AuthenticationProperties, context As HttpContext, scheme As AuthenticationScheme, options As OAuthOptions, backchannel As HttpClient, tokens As OAuthTokenResponse)

參數

context
HttpContext

HTTP 環境。

scheme
AuthenticationScheme

驗證配置。

options
OAuthOptions

驗證中介軟體所使用的選項。

backchannel
HttpClient

驗證中介軟體所使用的 HTTP 用戶端

tokens
OAuthTokenResponse

從權杖端點傳回的權杖。

適用於

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JObject)

來源:
OAuthCreatingTicketContext.cs
來源:
OAuthCreatingTicketContext.cs

初始化新的 OAuthCreatingTicketContext

public:
 OAuthCreatingTicketContext(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::OAuth::OAuthOptions ^ options, System::Net::Http::HttpClient ^ backchannel, Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ tokens, Newtonsoft::Json::Linq::JObject ^ user);
public OAuthCreatingTicketContext (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions options, System.Net.Http.HttpClient backchannel, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens, Newtonsoft.Json.Linq.JObject user);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions * System.Net.Http.HttpClient * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse * Newtonsoft.Json.Linq.JObject -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext
Public Sub New (principal As ClaimsPrincipal, properties As AuthenticationProperties, context As HttpContext, scheme As AuthenticationScheme, options As OAuthOptions, backchannel As HttpClient, tokens As OAuthTokenResponse, user As JObject)

參數

context
HttpContext

HTTP 環境。

scheme
AuthenticationScheme

驗證配置。

options
OAuthOptions

驗證中介軟體所使用的選項。

backchannel
HttpClient

驗證中介軟體所使用的 HTTP 用戶端

tokens
OAuthTokenResponse

從權杖端點傳回的權杖。

user
Newtonsoft.Json.Linq.JObject

JSON 序列化的使用者。

適用於

OAuthCreatingTicketContext(ClaimsPrincipal, AuthenticationProperties, HttpContext, AuthenticationScheme, OAuthOptions, HttpClient, OAuthTokenResponse, JsonElement)

初始化新的 OAuthCreatingTicketContext

public:
 OAuthCreatingTicketContext(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::OAuth::OAuthOptions ^ options, System::Net::Http::HttpClient ^ backchannel, Microsoft::AspNetCore::Authentication::OAuth::OAuthTokenResponse ^ tokens, System::Text::Json::JsonElement user);
public OAuthCreatingTicketContext (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions options, System.Net.Http.HttpClient backchannel, Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse tokens, System.Text.Json.JsonElement user);
new Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.OAuth.OAuthOptions * System.Net.Http.HttpClient * Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse * System.Text.Json.JsonElement -> Microsoft.AspNetCore.Authentication.OAuth.OAuthCreatingTicketContext
Public Sub New (principal As ClaimsPrincipal, properties As AuthenticationProperties, context As HttpContext, scheme As AuthenticationScheme, options As OAuthOptions, backchannel As HttpClient, tokens As OAuthTokenResponse, user As JsonElement)

參數

context
HttpContext

HTTP 環境。

scheme
AuthenticationScheme

驗證配置。

options
OAuthOptions

驗證中介軟體所使用的選項。

backchannel
HttpClient

驗證中介軟體所使用的 HTTP 用戶端

tokens
OAuthTokenResponse

從權杖端點傳回的權杖。

user
JsonElement

JSON 序列化的使用者。

適用於