Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matasx committed Dec 8, 2024
1 parent ec79d0c commit aa88ecc
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions Modules/Authentication/MultiAuthentication.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using GenHTTP.Api.Content;
using GenHTTP.Modules.Authentication.Multi;
using GenHTTP.Modules.Authentication.Multi;

namespace GenHTTP.Modules.Authentication;

Expand All @@ -14,18 +13,4 @@ public static class MultiAuthentication
public static MultiAuthenticationConcernBuilder Create() => new();

#endregion

#region Extensions

/// <summary>
/// Adds multi authentication to the handler.
/// </summary>
/// <param name="apiKeyAuth">The authentication concern to be added</param>
public static T Add<T>(this T builder, MultiAuthenticationConcernBuilder apiKeyAuth) where T : IHandlerBuilder<T>
{
builder.Add(apiKeyAuth);
return builder;
}

#endregion
}

0 comments on commit aa88ecc

Please sign in to comment.