AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore Méthode

Définition

Surcharges

AddAuthenticationCore(IServiceCollection)

Ajoutez les services d’authentification principaux nécessaires pour IAuthenticationService.

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Ajoutez les services d’authentification principaux nécessaires pour IAuthenticationService.

AddAuthenticationCore(IServiceCollection)

Ajoutez les services d’authentification principaux nécessaires pour 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

Paramètres

services
IServiceCollection

L’IServiceCollectionopérateur

Retours

Collection de services.

S’applique à

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Ajoutez les services d’authentification principaux nécessaires pour 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

Paramètres

services
IServiceCollection

L’IServiceCollectionopérateur

configureOptions
Action<AuthenticationOptions>

Utilisé pour configurer AuthenticationOptions.

Retours

Collection de services.

S’applique à