using Microsoft.AspNetCore.Authentication; using System; namespace Robware.Api.Auth.ApiKey { public static class AuthenticationBuilderExtensions { public static AuthenticationBuilder AddApiKeySupport(this AuthenticationBuilder authenticationBuilder, Action options) { return authenticationBuilder.AddScheme(ApiKeyAuthenticationOptions.DefaultScheme, options); } } }