CascadingAuthenticationStateServiceCollectionExtensions.AddCascadingAuthenticationState Método

Definição

Adiciona o estado de autenticação em cascata ao serviceCollection. Isso equivale a ter um CascadingAuthenticationState componente na raiz da hierarquia de componentes.

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

Parâmetros

serviceCollection
IServiceCollection

O IServiceCollection.

Retornos

O IServiceCollection.

Aplica-se a