SecurityTokenValidatedContext クラス

定義

に使用される SecurityTokenValidated(SecurityTokenValidatedContext)コンテキスト オブジェクト。

public ref class SecurityTokenValidatedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::WsFederation::WsFederationOptions ^>
public class SecurityTokenValidatedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>
type SecurityTokenValidatedContext = class
    inherit RemoteAuthenticationContext<WsFederationOptions>
Public Class SecurityTokenValidatedContext
Inherits RemoteAuthenticationContext(Of WsFederationOptions)
継承

コンストラクター

SecurityTokenValidatedContext(HttpContext, AuthenticationScheme, WsFederationOptions, ClaimsPrincipal, AuthenticationProperties)

SecurityTokenValidatedContext を作成します

プロパティ

HttpContext

コンテキスト。

(継承元 BaseContext<TOptions>)
Options

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

(継承元 BaseContext<TOptions>)
Principal

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

(継承元 RemoteAuthenticationContext<TOptions>)
Properties

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

(継承元 RemoteAuthenticationContext<TOptions>)
ProtocolMessage

WsFederationMessageこの要求で受信した 。

Request

要求。

(継承元 BaseContext<TOptions>)
Response

応答。

(継承元 BaseContext<TOptions>)
Result

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

(継承元 HandleRequestContext<TOptions>)
Scheme

認証スキームです。

(継承元 BaseContext<TOptions>)
SecurityToken

SecurityToken検証された 。

メソッド

Fail(Exception)

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

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

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

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

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

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

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

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

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

(継承元 RemoteAuthenticationContext<TOptions>)

適用対象