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)

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

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

Source:
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, 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 序列化用户。

适用于