Sdílet prostřednictvím


AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore Metoda

Definice

Přetížení

AddAuthenticationCore(IServiceCollection)

Přidejte základní ověřovací služby potřebné pro IAuthenticationService.

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Přidejte základní ověřovací služby potřebné pro IAuthenticationService.

AddAuthenticationCore(IServiceCollection)

Zdroj:
AuthenticationCoreServiceCollectionExtensions.cs
Zdroj:
AuthenticationCoreServiceCollectionExtensions.cs
Zdroj:
AuthenticationCoreServiceCollectionExtensions.cs

Přidejte základní ověřovací služby potřebné pro 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

Parametry

Návraty

Kolekce služeb.

Platí pro

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Zdroj:
AuthenticationCoreServiceCollectionExtensions.cs
Zdroj:
AuthenticationCoreServiceCollectionExtensions.cs
Zdroj:
AuthenticationCoreServiceCollectionExtensions.cs

Přidejte základní ověřovací služby potřebné pro 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

Parametry

configureOptions
Action<AuthenticationOptions>

Používá se ke konfiguraci .AuthenticationOptions

Návraty

Kolekce služeb.

Platí pro