AddInMemoryApiScopes(IIdentityServerBuilder, IEnumerable<ApiScope>)

Adds the in memory API scopes.

public static IIdentityServerBuilder AddInMemoryApiScopes(IIdentityServerBuilder builder, IEnumerable<ApiScope> apiScopes)
Returns:
IIdentityServerBuilder

Parameters

The builder.

apiScopes IEnumerable<ApiScope>

The API scopes.

AddInMemoryApiScopes(IIdentityServerBuilder, IConfigurationSection)

Adds the in memory scopes.

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

Parameters

The builder.

section IConfigurationSection

The configuration section containing the configuration data.

In this article