TicketReceivedContext 构造函数

定义

重载

TicketReceivedContext(HttpContext, RemoteAuthenticationOptions, AuthenticationTicket)
TicketReceivedContext(HttpContext, AuthenticationScheme, RemoteAuthenticationOptions, AuthenticationTicket)

初始化 TicketReceivedContext 的新实例。

TicketReceivedContext(HttpContext, RemoteAuthenticationOptions, AuthenticationTicket)

public:
 TicketReceivedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::RemoteAuthenticationOptions ^ options, Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket);
public TicketReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.RemoteAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket);
new Microsoft.AspNetCore.Authentication.TicketReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.RemoteAuthenticationOptions * Microsoft.AspNetCore.Authentication.AuthenticationTicket -> Microsoft.AspNetCore.Authentication.TicketReceivedContext
Public Sub New (context As HttpContext, options As RemoteAuthenticationOptions, ticket As AuthenticationTicket)

参数

context
HttpContext

适用于

TicketReceivedContext(HttpContext, AuthenticationScheme, RemoteAuthenticationOptions, AuthenticationTicket)

Source:
TicketReceivedContext.cs
Source:
TicketReceivedContext.cs
Source:
TicketReceivedContext.cs

初始化 TicketReceivedContext 的新实例。

public:
 TicketReceivedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::RemoteAuthenticationOptions ^ options, Microsoft::AspNetCore::Authentication::AuthenticationTicket ^ ticket);
public TicketReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket);
new Microsoft.AspNetCore.Authentication.TicketReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions * Microsoft.AspNetCore.Authentication.AuthenticationTicket -> Microsoft.AspNetCore.Authentication.TicketReceivedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As RemoteAuthenticationOptions, ticket As AuthenticationTicket)

参数

ticket
AuthenticationTicket

收到的票证。

适用于