AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore Methode

Definition

Überlädt

AddAuthenticationCore(IServiceCollection)

Fügen Sie kernauthentifizierungsdienste hinzu, die für IAuthenticationServiceerforderlich sind.

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Fügen Sie kernauthentifizierungsdienste hinzu, die für IAuthenticationServiceerforderlich sind.

AddAuthenticationCore(IServiceCollection)

Fügen Sie kernauthentifizierungsdienste hinzu, die für IAuthenticationServiceerforderlich sind.

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

Parameter

Gibt zurück

Die Dienstauflistung.

Gilt für:

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Fügen Sie kernauthentifizierungsdienste hinzu, die für IAuthenticationServiceerforderlich sind.

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

Parameter

configureOptions
Action<AuthenticationOptions>

Wird zum Konfigurieren von AuthenticationOptions verwendet.

Gibt zurück

Die Dienstauflistung.

Gilt für: