Share via


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)

指定した の絶対 URL を構築します targetPath

(継承元 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 が 1 回だけ呼び出されるようにするために使用されます。 以降の呼び出しでは、同じ認証結果が返されます。

(継承元 AuthenticationHandler<TOptions>)
HandleAuthenticateOnceSafeAsync()

HandleAuthenticateAsync が安全に 1 回だけ呼び出されるようにするために使用されます。 以降の呼び出しでは、同じ認証結果が返されます。 例外は、例外を含む失敗した認証結果に変換されます。

(継承元 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)

Initialize は、適切な状態でこのインスタンスをコンテキスト化するために、要求ごとに 1 回呼び出されます。

(継承元 AuthenticationHandler<TOptions>)
InitializeEventsAsync()

によって要求ごとに 1 回呼び出される events オブジェクトを 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>)

適用対象