AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore Yöntem

Tanım

Aşırı Yüklemeler

AddAuthenticationCore(IServiceCollection)

için IAuthenticationServicegereken temel kimlik doğrulama hizmetlerini ekleyin.

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

için IAuthenticationServicegereken temel kimlik doğrulama hizmetlerini ekleyin.

AddAuthenticationCore(IServiceCollection)

için IAuthenticationServicegereken temel kimlik doğrulama hizmetlerini ekleyin.

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

Parametreler

Döndürülenler

Hizmet koleksiyonu.

Şunlara uygulanır

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

için IAuthenticationServicegereken temel kimlik doğrulama hizmetlerini ekleyin.

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

Parametreler

configureOptions
Action<AuthenticationOptions>

yapılandırmak AuthenticationOptionsiçin kullanılır.

Döndürülenler

Hizmet koleksiyonu.

Şunlara uygulanır