AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
- services
- IServiceCollection
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
- services
- IServiceCollection
- configureOptions
- Action<AuthenticationOptions>
yapılandırmak AuthenticationOptionsiçin kullanılır.
Döndürülenler
Hizmet koleksiyonu.
Şunlara uygulanır
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin