AddInMemoryApiResources(IIdentityServerBuilder, IEnumerable<ApiResource>)

Adds the in memory API resources.

public static IIdentityServerBuilder AddInMemoryApiResources(IIdentityServerBuilder builder, IEnumerable<ApiResource> apiResources)
Returns:
IIdentityServerBuilder

Parameters

The builder.

apiResources IEnumerable<ApiResource>

The API resources.

AddInMemoryApiResources(IIdentityServerBuilder, IConfigurationSection)

Adds the in memory API resources.

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

Parameters

The builder.

section IConfigurationSection

The configuration section containing the configuration data.

In this article