From aa88eccd07d4d6677e9397f214fc3c7e3846bacc Mon Sep 17 00:00:00 2001 From: Matasx Date: Sun, 8 Dec 2024 14:33:20 +0100 Subject: [PATCH] Cleanup. --- Modules/Authentication/MultiAuthentication.cs | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/Modules/Authentication/MultiAuthentication.cs b/Modules/Authentication/MultiAuthentication.cs index f930534a..007ffe63 100644 --- a/Modules/Authentication/MultiAuthentication.cs +++ b/Modules/Authentication/MultiAuthentication.cs @@ -1,5 +1,4 @@ -using GenHTTP.Api.Content; -using GenHTTP.Modules.Authentication.Multi; +using GenHTTP.Modules.Authentication.Multi; namespace GenHTTP.Modules.Authentication; @@ -14,18 +13,4 @@ public static class MultiAuthentication public static MultiAuthenticationConcernBuilder Create() => new(); #endregion - - #region Extensions - - /// - /// Adds multi authentication to the handler. - /// - /// The authentication concern to be added - public static T Add(this T builder, MultiAuthenticationConcernBuilder apiKeyAuth) where T : IHandlerBuilder - { - builder.Add(apiKeyAuth); - return builder; - } - - #endregion }