FederatedAuthentication クラス

定義

Web アプリケーション中のフェデレーション認証に関連する、すべての HTTP モジュールの状態へのアクセスを提供します。

public ref class FederatedAuthentication abstract sealed
public static class FederatedAuthentication
type FederatedAuthentication = class
Public Class FederatedAuthentication
継承
FederatedAuthentication

注釈

クラスによって公開される静的プロパティを使用して、Web アプリケーション用に構成されたモジュールに FederatedAuthentication アクセスできます。 メソッドは GetHttpModule 拡張ポイントを提供し、そこから派生 HttpModuleBase し、アプリケーション用に構成されている他のアプリケーション定義モジュールにアクセスできます。

プロパティは FederatedAuthentication.FederationConfiguration 、HTTP モジュールの FederationConfiguration 構成設定を提供する のシングルトン インスタンスを参照します。 プロパティに HTTP モジュールの 1 つから初めてアクセスする場合、FederationConfigurationインスタンスは構成ファイルの federationConfiguration> 要素から<初期化されFederationConfigurationCreated、 が発生して、モジュール プロパティの初期化に使用される前に、構成オブジェクトを変更する機会をアプリケーションに提供します。 プロパティの後続のアクセスごとに、同じ FederationConfiguration インスタンスが返されます。

重要

クラスを使用する場合、または ClaimsPrincipalPermissionAttribute クラスを使用する場合にクレーム ベースのアクセス チェックをClaimsPrincipalPermission評価するために使用されるクレーム承認マネージャー (ClaimsAuthorizationManager) はIdentityConfiguration、 プロパティを介して参照されるフェデレーション構成オブジェクトに設定されているオブジェクトに対してFederatedAuthentication.FederationConfiguration構成されます。 これは、アプリケーションが ASP.NET かどうかに関係なく、すべてのアプリケーションに当てはまります。

プロパティ

ClaimsAuthorizationModule

Web アプリケーションが使用するクレームの承認のモジュールを取得します。

FederationConfiguration

この Web アプリケーションで HTTP モジュールが使用するシングルトン FederationConfiguration インスタンスを取得します。

SessionAuthenticationModule

Web アプリケーションが使用するセッション認証モジュール (SAM) を取得します。

WSFederationAuthenticationModule

Web アプリケーションによって使用される WS-Federation Authentication Module (WSFAM) を取得します。

メソッド

GetHttpModule<T>()

Web アプリケーションで使用される指定された型の HTTP モジュールを取得します。

イベント

FederationConfigurationCreated

FederationConfiguration のプロパティが Web アプリケーションの HTTP モジュールの 1 つによって初めてアクセスされるときに発生します。

適用対象

こちらもご覧ください