AddInMemoryIdentityResources(IIdentityServerBuilder, IEnumerable<IdentityResource>)

Adds the in memory identity resources.

public static IIdentityServerBuilder AddInMemoryIdentityResources(IIdentityServerBuilder builder, IEnumerable<IdentityResource> identityResources)
Returns:
IIdentityServerBuilder

Parameters

The builder.

identityResources IEnumerable<IdentityResource>

The identity resources.

AddInMemoryIdentityResources(IIdentityServerBuilder, IConfigurationSection)

Adds the in memory identity resources.

public static IIdentityServerBuilder AddInMemoryIdentityResources(IIdentityServerBuilder builder, IConfigurationSection section)
Returns:
IIdentityServerBuilder

Parameters

The builder.

section IConfigurationSection

The configuration section containing the configuration data.

In this article