ChallengeContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
Challenge 事件的狀態。
public ref class ChallengeContext : Microsoft::AspNetCore::Authentication::PropertiesContext<Microsoft::AspNetCore::Authentication::Negotiate::NegotiateOptions ^>
public class ChallengeContext : Microsoft.AspNetCore.Authentication.PropertiesContext<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions>
type ChallengeContext = class
inherit PropertiesContext<NegotiateOptions>
Public Class ChallengeContext
Inherits PropertiesContext(Of NegotiateOptions)
- 繼承
建構函式
| ChallengeContext(HttpContext, AuthenticationScheme, NegotiateOptions, AuthenticationProperties) |
建立新的 ChallengeContext。 |
屬性
| Handled |
取得值,這個值會判斷是否已處理這個挑戰。
如果 |
| HttpContext |
內容。 (繼承來源 BaseContext<TOptions>) |
| Options |
取得與配置相關聯的驗證選項。 (繼承來源 BaseContext<TOptions>) |
| Properties |
取得或設定 AuthenticationProperties。 (繼承來源 PropertiesContext<TOptions>) |
| Request |
要求。 (繼承來源 BaseContext<TOptions>) |
| Response |
回應。 (繼承來源 BaseContext<TOptions>) |
| Scheme |
驗證配置。 (繼承來源 BaseContext<TOptions>) |
方法
| HandleResponse() |
略過這項挑戰的任何預設邏輯。 |