Udostępnij za pośrednictwem


CascadingAuthenticationStateServiceCollectionExtensions.AddCascadingAuthenticationState Metoda

Definicja

Dodaje kaskadowy stan uwierzytelniania do elementu serviceCollection. Jest to odpowiednik CascadingAuthenticationState składnika w katalogu głównym hierarchii składników.

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

Parametry

serviceCollection
IServiceCollection

Element IServiceCollection.

Zwraca

Element IServiceCollection.

Dotyczy