Condividi tramite


CascadingAuthenticationStateServiceCollectionExtensions.AddCascadingAuthenticationState Metodo

Definizione

Aggiunge lo stato di autenticazione a catena all'oggetto serviceCollection. Equivale ad avere un CascadingAuthenticationState componente nella radice della gerarchia dei componenti.

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

Parametri

serviceCollection
IServiceCollection

Oggetto IServiceCollection.

Restituisce

Oggetto IServiceCollection.

Si applica a