using Microsoft.Extensions.DependencyInjection; namespace Security.Scheme; public static class GandalfRebornJwtTokenAuthExtensions { private const string SchemeName = "GandalfRebornJwtTokenAuthScheme"; public static IServiceCollection AddGandalfRebornJwtTokenAuth(this IServiceCollection services, Action options) { services.AddAuthentication().AddScheme(SchemeName, options); return services; } }