Condividi tramite


AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore Metodo

Definizione

Overload

AddAuthenticationCore(IServiceCollection)

Aggiungere i servizi di autenticazione di base necessari per IAuthenticationService.

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Aggiungere i servizi di autenticazione di base necessari per IAuthenticationService.

AddAuthenticationCore(IServiceCollection)

Origine:
AuthenticationCoreServiceCollectionExtensions.cs
Origine:
AuthenticationCoreServiceCollectionExtensions.cs
Origine:
AuthenticationCoreServiceCollectionExtensions.cs

Aggiungere i servizi di autenticazione di base necessari per 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

Parametri

Restituisce

Raccolta di servizi.

Si applica a

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Origine:
AuthenticationCoreServiceCollectionExtensions.cs
Origine:
AuthenticationCoreServiceCollectionExtensions.cs
Origine:
AuthenticationCoreServiceCollectionExtensions.cs

Aggiungere i servizi di autenticazione di base necessari per 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

Parametri

configureOptions
Action<AuthenticationOptions>

Usato per configurare AuthenticationOptions.

Restituisce

Raccolta di servizi.

Si applica a