Compartir a través de


AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore Método

Definición

Sobrecargas

AddAuthenticationCore(IServiceCollection)

Agregue los servicios de autenticación principales necesarios para IAuthenticationService.

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Agregue los servicios de autenticación principales necesarios para IAuthenticationService.

AddAuthenticationCore(IServiceCollection)

Source:
AuthenticationCoreServiceCollectionExtensions.cs
Source:
AuthenticationCoreServiceCollectionExtensions.cs
Source:
AuthenticationCoreServiceCollectionExtensions.cs

Agregue los servicios de autenticación principales necesarios para IAuthenticationService.

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

Devoluciones

Colección de servicios.

Se aplica a

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Source:
AuthenticationCoreServiceCollectionExtensions.cs
Source:
AuthenticationCoreServiceCollectionExtensions.cs
Source:
AuthenticationCoreServiceCollectionExtensions.cs

Agregue los servicios de autenticación principales necesarios para IAuthenticationService.

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>

Se usa para configurar AuthenticationOptions.

Devoluciones

Colección de servicios.

Se aplica a