AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore Método

Definição

Sobrecargas

AddAuthenticationCore(IServiceCollection)

Adicione os principais serviços de autenticação necessários para IAuthenticationServiceo .

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Adicione os principais serviços de autenticação necessários para IAuthenticationServiceo .

AddAuthenticationCore(IServiceCollection)

Adicione os principais serviços de autenticação necessários para IAuthenticationServiceo .

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthenticationCore (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddAuthenticationCore : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAuthenticationCore (services As IServiceCollection) As IServiceCollection

Parâmetros

Retornos

A coleção de serviços.

Aplica-se a

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Adicione os principais serviços de autenticação necessários para IAuthenticationServiceo .

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAuthenticationCore (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Authentication.AuthenticationOptions> configureOptions);
static member AddAuthenticationCore : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Authentication.AuthenticationOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAuthenticationCore (services As IServiceCollection, configureOptions As Action(Of AuthenticationOptions)) As IServiceCollection

Parâmetros

configureOptions
Action<AuthenticationOptions>

Usado para configurar o AuthenticationOptions.

Retornos

A coleção de serviços.

Aplica-se a