Table of Contents

Class ServiceCollectionExtensions

Namespace
Kentico.Membership
Assembly
Kentico.Membership.dll

Contains extension methods for Microsoft.Extensions.DependencyInjection.IServiceCollection

public static class ServiceCollectionExtensions
Inheritance
object
ServiceCollectionExtensions

Methods

AddAdminExternalAuthenticationProvider(IServiceCollection, Action<AuthenticationBuilder>, Action<AdminExternalAuthenticationProviderOptions>)

Wrapper for registering an external provider into the pipeline.

public static IServiceCollection AddAdminExternalAuthenticationProvider(this IServiceCollection services, Action<AuthenticationBuilder> addProvider, Action<AdminExternalAuthenticationProviderOptions> configureOptions)

Parameters

services IServiceCollection

The service collection to be extended.

addProvider Action<AuthenticationBuilder>

Action that registers an external authentication provider to the authentication builder.

configureOptions Action<AdminExternalAuthenticationProviderOptions>

Configuration action for AdminExternalAuthenticationProviderOptions.

Returns

IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection so that additional calls may be chained.

Exceptions

ArgumentNullException