Freigeben über


CascadingAuthenticationStateServiceCollectionExtensions.AddCascadingAuthenticationState Methode

Definition

Fügt den kaskadierenden Authentifizierungsstatus serviceCollectionhinzu. Dies entspricht einer CascadingAuthenticationState Komponente im Stammverzeichnis Ihrer Komponentenhierarchie.

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

Parameter

serviceCollection
IServiceCollection

Die IServiceCollection.

Gibt zurück

Die IServiceCollection.

Gilt für: