Table of Contents

Class IdentityServerAspNetCoreServiceCollectionExtensions

Namespace
Microsoft.Extensions.DependencyInjection
Assembly
Fdyay.IdentityServer.AspNetCore.dll

The public entry point for registering the identity server in an ASP.NET Core app.

public static class IdentityServerAspNetCoreServiceCollectionExtensions
Inheritance
IdentityServerAspNetCoreServiceCollectionExtensions
Inherited Members

Methods

AddIdentityServer(IServiceCollection)

Adds the identity server and its ASP.NET Core hosting services.

public static IIdentityServerBuilder AddIdentityServer(this IServiceCollection services)

Parameters

services IServiceCollection

Returns

IIdentityServerBuilder

AddIdentityServer(IServiceCollection, Action<IdentityServerOptions>)

Adds the identity server, configures options, and adds ASP.NET Core hosting services.

public static IIdentityServerBuilder AddIdentityServer(this IServiceCollection services, Action<IdentityServerOptions> configureOptions)

Parameters

services IServiceCollection
configureOptions Action<IdentityServerOptions>

Returns

IIdentityServerBuilder