AuthenticationFailedContext クラス

定義

AuthenticationFailed イベントの状態。

public ref class AuthenticationFailedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::Negotiate::NegotiateOptions ^>
public class AuthenticationFailedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.Negotiate.NegotiateOptions>
type AuthenticationFailedContext = class
    inherit RemoteAuthenticationContext<NegotiateOptions>
Public Class AuthenticationFailedContext
Inherits RemoteAuthenticationContext(Of NegotiateOptions)
継承

コンストラクター

AuthenticationFailedContext(HttpContext, AuthenticationScheme, NegotiateOptions)

AuthenticationFailedContext を作成します。

プロパティ

Exception

認証の処理中に発生した例外。

HttpContext

コンテキスト。

(継承元 BaseContext<TOptions>)
Options

スキームに関連付けられている認証オプションを取得します。

(継承元 BaseContext<TOptions>)
Principal

ユーザー要求を ClaimsPrincipal 含む を取得します。

(継承元 RemoteAuthenticationContext<TOptions>)
Properties

AuthenticationProperties を取得または設定します。

(継承元 RemoteAuthenticationContext<TOptions>)
Request

要求。

(継承元 BaseContext<TOptions>)
Response

応答。

(継承元 BaseContext<TOptions>)
Result

HandleRequestResultハンドラーによって使用される 。

(継承元 HandleRequestContext<TOptions>)
Scheme

認証スキームです。

(継承元 BaseContext<TOptions>)

メソッド

Fail(Exception)

認証に失敗したことを示します。

(継承元 RemoteAuthenticationContext<TOptions>)
Fail(String)

認証に失敗したことを示します。

(継承元 RemoteAuthenticationContext<TOptions>)
HandleResponse()

この要求のすべての処理を中止し、クライアントに返します。 完全な応答を生成する作業は、呼び出し元で行う必要があります。

(継承元 HandleRequestContext<TOptions>)
SkipHandler()

現在のハンドラーでの要求の処理を中止します。

(継承元 HandleRequestContext<TOptions>)
Success()

Propertiesを使用してチケットを作成する成功をPrincipal呼び出します。

(継承元 RemoteAuthenticationContext<TOptions>)

適用対象