Language

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>)

適用対象