CascadingAuthenticationStateServiceCollectionExtensions.AddCascadingAuthenticationState Yöntem

Tanım

öğesine basamaklı kimlik doğrulama durumu serviceCollectionekler. Bu, bileşen hiyerarşinizin kökünde bir CascadingAuthenticationState bileşenin olmasıyla eşdeğerdir.

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

Parametreler

Döndürülenler

IServiceCollection.

Şunlara uygulanır