MessageReceivedContext クラス

定義

OnMessageReceivedコンテキスト。

public ref class MessageReceivedContext : Microsoft::AspNetCore::Authentication::JwtBearer::BaseJwtBearerContext
public ref class MessageReceivedContext : Microsoft::AspNetCore::Authentication::ResultContext<Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerOptions ^>
public class MessageReceivedContext : Microsoft.AspNetCore.Authentication.JwtBearer.BaseJwtBearerContext
public class MessageReceivedContext : Microsoft.AspNetCore.Authentication.ResultContext<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions>
type MessageReceivedContext = class
    inherit BaseJwtBearerContext
type MessageReceivedContext = class
    inherit ResultContext<JwtBearerOptions>
Public Class MessageReceivedContext
Inherits BaseJwtBearerContext
Public Class MessageReceivedContext
Inherits ResultContext(Of JwtBearerOptions)
継承
継承

コンストラクター

MessageReceivedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)

MessageReceivedContext の新しいインスタンスを初期化します。

MessageReceivedContext(HttpContext, JwtBearerOptions)

OnMessageReceivedコンテキスト。

プロパティ

HandledResponse

OnMessageReceivedコンテキスト。

(継承元 BaseControlContext)
HttpContext

OnMessageReceivedコンテキスト。

(継承元 BaseContext)
HttpContext

コンテキスト。

(継承元 BaseContext<TOptions>)
Options

OnMessageReceivedコンテキスト。

(継承元 BaseJwtBearerContext)
Options

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

(継承元 BaseContext<TOptions>)
Principal

ユーザー要求を含む を ClaimsPrincipal 取得または設定します。

(継承元 ResultContext<TOptions>)
Properties

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

(継承元 ResultContext<TOptions>)
Request

OnMessageReceivedコンテキスト。

(継承元 BaseContext)
Request

要求。

(継承元 BaseContext<TOptions>)
Response

OnMessageReceivedコンテキスト。

(継承元 BaseContext)
Response

応答。

(継承元 BaseContext<TOptions>)
Result

結果を取得します AuthenticateResult

(継承元 ResultContext<TOptions>)
Scheme

認証スキームです。

(継承元 BaseContext<TOptions>)
Skipped

OnMessageReceivedコンテキスト。

(継承元 BaseControlContext)
State

OnMessageReceivedコンテキスト。

(継承元 BaseControlContext)
Ticket

このイベントがイベントを Ticket 処理することを通知する場合に返す を取得または設定します。

(継承元 BaseControlContext)
Token

ベアラー トークン。 これにより、アプリケーションは別の場所からトークンを取得できるようになります。

メソッド

CheckEventResult(AuthenticateResult)

OnMessageReceivedコンテキスト。

(継承元 BaseControlContext)
Fail(Exception)

認証中にエラーが発生したことを示します。

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

認証中にエラーが発生したことを示します。

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

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

(継承元 BaseControlContext)
NoResult()

この認証スキームに関する情報が返されなかったことを示します。

(継承元 ResultContext<TOptions>)
SkipToNextMiddleware()

現在のミドルウェアでの要求の処理を中止し、次のミドルウェアに制御を渡します。 SignIn は呼び出されません。

(継承元 BaseControlContext)
Success()

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

(継承元 ResultContext<TOptions>)

適用対象