Adds a CORS policy service cache.
public static IIdentityServerBuilder AddCorsPolicyCache<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 CORS policy service that is registered in DI.