Adds a CORS policy service.
public static IIdentityServerBuilder AddCorsPolicyService<T>(IIdentityServerBuilder builder) where T : IdentityServer4.Services.ICorsPolicyService
- Returns:
- IIdentityServerBuilder
Parameters
builder
IIdentityServerBuilder
The builder.
Type Parameters
T
IdentityServer4.Services.ICorsPolicyService
The type of the concrete scope store class that is registered in DI.