The repository currently contains two copies of a custom DI decorator implementation:
src/Open.IdentityServer/src/Configuration/DependencyInjection/Decorator.cs
src/AspNetIdentity/src/Decorator.cs
The associated AddDecorator<TService> and
AddTransientDecorator<TService, TImplementation> helpers manually manipulate
IServiceCollection registrations and handle implementation types, instances,
factories, and disposal.
Replace this custom implementation with the Scrutor library.
Decorated services
The following services currently use the custom decorator mechanism:
IAuthenticationService
IdentityServerAuthenticationService
IAuthenticationHandlerProvider
FederatedSignoutAuthenticationHandlerProvider
ICorsPolicyProvider
IUserClaimsPrincipalFactory<TUser>
The repository currently contains two copies of a custom DI decorator implementation:
src/Open.IdentityServer/src/Configuration/DependencyInjection/Decorator.cssrc/AspNetIdentity/src/Decorator.csThe associated
AddDecorator<TService>andAddTransientDecorator<TService, TImplementation>helpers manually manipulateIServiceCollectionregistrations and handle implementation types, instances,factories, and disposal.
Replace this custom implementation with the Scrutor library.
Decorated services
The following services currently use the custom decorator mechanism:
IAuthenticationServiceIdentityServerAuthenticationServiceIAuthenticationHandlerProviderFederatedSignoutAuthenticationHandlerProviderICorsPolicyProviderCorsPolicyProviderIUserClaimsPrincipalFactory<TUser>UserClaimsFactory<TUser>