次の方法で共有


CascadingAuthenticationStateServiceCollectionExtensions.AddCascadingAuthenticationState メソッド

定義

カスケード認証状態を に追加します serviceCollection。 これは、コンポーネント階層の CascadingAuthenticationState ルートにコンポーネントを含めるのと同じです。

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddCascadingAuthenticationState (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection);
static member AddCascadingAuthenticationState : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddCascadingAuthenticationState (serviceCollection As IServiceCollection) As IServiceCollection

パラメーター

serviceCollection
IServiceCollection

IServiceCollection

戻り値

IServiceCollection

適用対象