TicketReceivedContext 類別

定義

提供內容資訊給處理常式提供者。

public ref class TicketReceivedContext : Microsoft::AspNetCore::Authentication::BaseControlContext
public ref class TicketReceivedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::RemoteAuthenticationOptions ^>
public class TicketReceivedContext : Microsoft.AspNetCore.Authentication.BaseControlContext
public class TicketReceivedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions>
type TicketReceivedContext = class
    inherit BaseControlContext
type TicketReceivedContext = class
    inherit RemoteAuthenticationContext<RemoteAuthenticationOptions>
Public Class TicketReceivedContext
Inherits BaseControlContext
Public Class TicketReceivedContext
Inherits RemoteAuthenticationContext(Of RemoteAuthenticationOptions)
繼承
TicketReceivedContext
繼承

建構函式

TicketReceivedContext(HttpContext, AuthenticationScheme, RemoteAuthenticationOptions, AuthenticationTicket)

初始化 TicketReceivedContext 的新執行個體。

TicketReceivedContext(HttpContext, RemoteAuthenticationOptions, AuthenticationTicket)

提供內容資訊給處理常式提供者。

屬性

HandledResponse

提供內容資訊給處理常式提供者。

(繼承來源 BaseControlContext)
HttpContext

提供內容資訊給處理常式提供者。

(繼承來源 BaseContext)
HttpContext

內容。

(繼承來源 BaseContext<TOptions>)
Options

提供內容資訊給處理常式提供者。

Options

取得與配置相關聯的驗證選項。

(繼承來源 BaseContext<TOptions>)
Principal

提供內容資訊給處理常式提供者。

Principal

取得包含 ClaimsPrincipal 使用者宣告的 。

(繼承來源 RemoteAuthenticationContext<TOptions>)
Properties

提供內容資訊給處理常式提供者。

Properties

取得或設定 AuthenticationProperties

(繼承來源 RemoteAuthenticationContext<TOptions>)
Request

提供內容資訊給處理常式提供者。

(繼承來源 BaseContext)
Request

要求。

(繼承來源 BaseContext<TOptions>)
Response

提供內容資訊給處理常式提供者。

(繼承來源 BaseContext)
Response

回應。

(繼承來源 BaseContext<TOptions>)
Result

HandleRequestResult處理常式所使用的 。

(繼承來源 HandleRequestContext<TOptions>)
ReturnUri

取得或設定登入之後要重新導向的 URL。

Scheme

驗證配置。

(繼承來源 BaseContext<TOptions>)
Skipped

提供內容資訊給處理常式提供者。

(繼承來源 BaseControlContext)
State

提供內容資訊給處理常式提供者。

(繼承來源 BaseControlContext)
Ticket

取得或設定 , Ticket 當這個事件發出處理事件的訊號時,要傳回的 。

(繼承來源 BaseControlContext)

方法

CheckEventResult(AuthenticateResult)

提供內容資訊給處理常式提供者。

(繼承來源 BaseControlContext)
Fail(Exception)

表示驗證失敗。

(繼承來源 RemoteAuthenticationContext<TOptions>)
Fail(String)

表示驗證失敗。

(繼承來源 RemoteAuthenticationContext<TOptions>)
HandleResponse()

中斷此要求的所有處理並返回用戶端。 呼叫端負責產生完整回應。 Ticket將 設定為觸發 SignIn。

(繼承來源 BaseControlContext)
HandleResponse()

中斷此要求的所有處理並返回用戶端。 呼叫端負責產生完整回應。

(繼承來源 HandleRequestContext<TOptions>)
SkipHandler()

停止處理目前處理常式中的要求。

(繼承來源 HandleRequestContext<TOptions>)
SkipToNextMiddleware()

中斷處理目前中介軟體中的要求,並將控制權移至下一個。 不會呼叫 SignIn。

(繼承來源 BaseControlContext)
Success()

使用 PrincipalProperties 呼叫成功建立票證。

(繼承來源 RemoteAuthenticationContext<TOptions>)

適用於