| 123456789101112131415 |
- using Microsoft.AspNetCore.Authentication;
- using Microsoft.Extensions.DependencyInjection;
- namespace Admin.NET.Plugin.AiDOP.DataPlatform.UnifiedIngress;
- public static class MdpPurchaseHandoffServiceCollectionExtensions
- {
- public static IServiceCollection AddMdpPurchaseHandoff(this IServiceCollection services)
- {
- services.AddScoped<MdpPurchaseHandoffService>();
- services.AddAuthentication().AddScheme<AuthenticationSchemeOptions, MdpPurchaseHandoffAuthenticationHandler>(
- MdpPurchaseHandoffAuthenticationHandler.SchemeName, _ => { });
- return services;
- }
- }
|