Udostępnij przez


AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore Metoda

Definicja

Przeciążenia

AddAuthenticationCore(IServiceCollection)

Dodaj podstawowe usługi uwierzytelniania wymagane dla programu IAuthenticationService.

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Dodaj podstawowe usługi uwierzytelniania wymagane dla programu IAuthenticationService.

AddAuthenticationCore(IServiceCollection)

Źródło:
AuthenticationCoreServiceCollectionExtensions.cs
Źródło:
AuthenticationCoreServiceCollectionExtensions.cs

Dodaj podstawowe usługi uwierzytelniania wymagane dla programu 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

Zwraca

Kolekcja usług.

Dotyczy

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Źródło:
AuthenticationCoreServiceCollectionExtensions.cs
Źródło:
AuthenticationCoreServiceCollectionExtensions.cs

Dodaj podstawowe usługi uwierzytelniania wymagane dla programu 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>

Służy do konfigurowania .AuthenticationOptions

Zwraca

Kolekcja usług.

Dotyczy