共用方式為


NegotiateHandler 類別

定義

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

public ref class NegotiateHandler : Microsoft::AspNetCore::Authentication::AuthenticationHandler<Microsoft::AspNetCore::Authentication::Negotiate::NegotiateOptions ^>, Microsoft::AspNetCore::Authentication::IAuthenticationRequestHandler
public class NegotiateHandler : Microsoft.AspNetCore.Authentication.AuthenticationHandler<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions>, Microsoft.AspNetCore.Authentication.IAuthenticationRequestHandler
type NegotiateHandler = class
    inherit AuthenticationHandler<NegotiateOptions>
    interface IAuthenticationRequestHandler
    interface IAuthenticationHandler
Public Class NegotiateHandler
Inherits AuthenticationHandler(Of NegotiateOptions)
Implements IAuthenticationRequestHandler
繼承
實作

建構函式

NegotiateHandler(IOptionsMonitor<NegotiateOptions>, ILoggerFactory, UrlEncoder)

建立新的 NegotiateHandler

NegotiateHandler(IOptionsMonitor<NegotiateOptions>, ILoggerFactory, UrlEncoder, ISystemClock)
已淘汰.

建立新的 NegotiateHandler

屬性

ChallengeCalled

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
ClaimsIssuer

取得發行任何宣告時應該使用的簽發者。

(繼承來源 AuthenticationHandler<TOptions>)
Clock
已淘汰.

取得 ISystemClock

(繼承來源 AuthenticationHandler<TOptions>)
Context

取得或設定 HttpContext

(繼承來源 AuthenticationHandler<TOptions>)
CurrentUri

取得絕對目前的URL。

(繼承來源 AuthenticationHandler<TOptions>)
Events

處理程式會在事件上呼叫方法,以在處理發生時的特定時間點提供應用程控。 如果未提供預設實例,則會在呼叫 方法時執行任何動作。

InitializeResult

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
Logger

取得 ILogger

(繼承來源 AuthenticationHandler<TOptions>)
Options

取得或設定與這個驗證處理程式相關聯的選項。

(繼承來源 AuthenticationHandler<TOptions>)
OptionsMonitor

取得 IOptionsMonitor<TOptions>,以偵測選項的變更。

(繼承來源 AuthenticationHandler<TOptions>)
OriginalPath

取得驗證中間件所見的路徑。

(繼承來源 AuthenticationHandler<TOptions>)
OriginalPathBase

取得驗證中間件所見的路徑基底。

(繼承來源 AuthenticationHandler<TOptions>)
PriorHandler

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
Request

取得與目前要求相關聯的 HttpRequest

(繼承來源 AuthenticationHandler<TOptions>)
Response

取得與目前要求相關聯的 HttpResponse

(繼承來源 AuthenticationHandler<TOptions>)
Scheme

取得或設定與此驗證處理程式相關聯的 AuthenticationScheme

(繼承來源 AuthenticationHandler<TOptions>)
SignInAccepted

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
SignOutAccepted

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
TimeProvider

取得目前時間,主要是用於單元測試。

(繼承來源 AuthenticationHandler<TOptions>)
UrlEncoder

取得 UrlEncoder

(繼承來源 AuthenticationHandler<TOptions>)

方法

AuthenticateAsync()

驗證目前的要求。

(繼承來源 AuthenticationHandler<TOptions>)
AuthenticateAsync(AuthenticateContext)

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
BuildRedirectUri(String)

建構指定之 targetPath的絕對 URL。

(繼承來源 AuthenticationHandler<TOptions>)
ChallengeAsync(AuthenticationProperties)

挑戰目前的要求。

(繼承來源 AuthenticationHandler<TOptions>)
ChallengeAsync(ChallengeContext)

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
CreateEventsAsync()

建立預設事件類型。

FinishResponseAsync()

即將傳送回應時所呼叫的勾點

(繼承來源 AuthenticationHandler<TOptions>)
ForbidAsync(AuthenticationProperties)

禁止目前的要求。

(繼承來源 AuthenticationHandler<TOptions>)
GetDescriptions(DescribeSchemesContext)

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
HandleAuthenticateAsync()

檢查目前的要求是否已通過驗證,並傳回使用者。

HandleAuthenticateOnceAsync()

用來確保 HandleAuthenticateAsync 只會叫用一次。 後續呼叫會傳回相同的驗證結果。

(繼承來源 AuthenticationHandler<TOptions>)
HandleAuthenticateOnceSafeAsync()

用來確保 HandleAuthenticateAsync 只會安全地叫用一次。 後續呼叫會傳回相同的驗證結果。 任何例外狀況都會轉換成包含例外狀況的失敗驗證結果。

(繼承來源 AuthenticationHandler<TOptions>)
HandleChallengeAsync(AuthenticationProperties)

發出 401 WWW-Authenticate 交涉挑戰。

HandleForbiddenAsync(AuthenticationProperties)

覆寫此方法以處理 Forbid。

(繼承來源 AuthenticationHandler<TOptions>)
HandleForbiddenAsync(ChallengeContext)

覆寫此方法以處理禁止的挑戰。

(繼承來源 AuthenticationHandler<TOptions>)
HandleRequestAsync()

攔截不完整的交涉驗證交握,然後繼續或完成交握。

HandleSignInAsync(SignInContext)

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
HandleSignOutAsync(SignOutContext)

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
HandleUnauthorizedAsync(ChallengeContext)

覆寫此方法來處理 401 挑戰考慮,如果有問題的驗證配置會處理驗證互動,做為要求流程的一部分。 (例如新增響應標頭,或將 401 結果變更為登入頁面或外部登入位置的 302。

(繼承來源 AuthenticationHandler<TOptions>)
InitializeAsync(AuthenticationScheme, HttpContext)

初始化處理程式,解析選項並加以驗證。

(繼承來源 AuthenticationHandler<TOptions>)
InitializeAsync(TOptions, HttpContext, ILogger, UrlEncoder)

每個要求會呼叫初始化一次,以適當狀態將此實例內容化。

(繼承來源 AuthenticationHandler<TOptions>)
InitializeEventsAsync()

初始化事件物件,InitializeAsync(AuthenticationScheme, HttpContext)的每個要求呼叫一次。

(繼承來源 AuthenticationHandler<TOptions>)
InitializeHandlerAsync()

在已初始化選項/事件之後呼叫,處理程式完成初始化本身。

(繼承來源 AuthenticationHandler<TOptions>)
ResolveTarget(String)

解析此驗證作業轉送至的配置。

(繼承來源 AuthenticationHandler<TOptions>)
ShouldHandleScheme(String, Boolean)

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
SignInAsync(SignInContext)

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)
SignOutAsync(SignOutContext)

使用 Negotiate、Kerberos 或 NTLM 驗證要求。

(繼承來源 AuthenticationHandler<TOptions>)

適用於