AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore AuthenticationCoreServiceCollectionExtensions.AddAuthenticationCore Method

Definition

Overloads

AddAuthenticationCore(IServiceCollection) AddAuthenticationCore(IServiceCollection) AddAuthenticationCore(IServiceCollection) AddAuthenticationCore(IServiceCollection)

Add core authentication services needed for IAuthenticationService.

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>) AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>) AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>) AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Add core authentication services needed for IAuthenticationService.

AddAuthenticationCore(IServiceCollection) AddAuthenticationCore(IServiceCollection) AddAuthenticationCore(IServiceCollection) AddAuthenticationCore(IServiceCollection)

Add core authentication services needed for IAuthenticationService.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddAuthenticationCore(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services);
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

Parameters

services
Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection.

Returns

Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection

The service collection.

AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>) AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>) AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>) AddAuthenticationCore(IServiceCollection, Action<AuthenticationOptions>)

Add core authentication services needed for IAuthenticationService.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddAuthenticationCore(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::AspNetCore::Authentication::AuthenticationOptions ^> ^ configureOptions);
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

Parameters

services
Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection.

configureOptions
Action<AuthenticationOptions>

Used to configure the AuthenticationOptions.

Returns

Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.IServiceCollection

The service collection.

Applies to