AddIdentityServer(IServiceCollection)

Adds IdentityServer.

public static IIdentityServerBuilder AddIdentityServer(IServiceCollection services)
Returns:
IIdentityServerBuilder

Parameters

services IServiceCollection

The services.

AddIdentityServer(IServiceCollection, Action<IdentityServerOptions>)

Adds IdentityServer.

public static IIdentityServerBuilder AddIdentityServer(IServiceCollection services, Action<IdentityServerOptions> setupAction)
Returns:
IIdentityServerBuilder

Parameters

services IServiceCollection

The services.

setupAction Action<IdentityServerOptions>

The setup action.

AddIdentityServer(IServiceCollection, IConfiguration)

Adds the IdentityServer.

public static IIdentityServerBuilder AddIdentityServer(IServiceCollection services, IConfiguration configuration)
Returns:
IIdentityServerBuilder

Parameters

services IServiceCollection

The services.

configuration IConfiguration

The configuration.

In this article