Language

BlazorAuthenticationChallengeHandler コンストラクター

定義

Blazor サーバー コンポーネントの認証チャレンジを処理します。 増分同意と条件付きアクセスのシナリオの機能を提供します。

public BlazorAuthenticationChallengeHandler(Microsoft.AspNetCore.Components.NavigationManager navigation, Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider authenticationStateProvider, Microsoft.Extensions.Configuration.IConfiguration configuration);
new Microsoft.Identity.Web.BlazorAuthenticationChallengeHandler : Microsoft.AspNetCore.Components.NavigationManager * Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Identity.Web.BlazorAuthenticationChallengeHandler
Public Sub New (navigation As NavigationManager, authenticationStateProvider As AuthenticationStateProvider, configuration As IConfiguration)

パラメーター

navigation
NavigationManager
authenticationStateProvider
AuthenticationStateProvider
configuration
IConfiguration

注釈

このハンドラーは、コンポーネント コードから認証チャレンジを開始する必要がある Blazor Server シナリオ専用に設計されています。 増分同意 (追加のスコープの要求) と条件付きアクセス (ステップアップ認証の処理) がサポートされます。 これを MapLoginAndLogout(IEndpointRouteBuilder) と組み合わせて使用して、Blazor Server アプリケーションでシームレスな認証フローを有効にします。

適用対象