Skip to content

Commit 0b55f62

Browse files
committed
extensions were fixed
1 parent 394cdec commit 0b55f62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Wissance.Authorization/Wissance.Authorization/Extensions/ServiceCollectionExtension.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
namespace Wissance.Authorization.Extensions
1212
{
13-
public static class ServiceCollectionExtension
13+
public static class ServiceCollectionExtensions
1414
{
15-
public static void AddKeyCloak(this ServiceCollection services, KeyCloakServerConfig config)
15+
public static void AddKeyCloak(this IServiceCollection services, KeyCloakServerConfig config)
1616
{
1717
ServiceProvider provider = services.BuildServiceProvider();
1818
ILoggerFactory loggerFactory = provider.GetService<ILoggerFactory>();
@@ -23,7 +23,7 @@ public static void AddKeyCloak(this ServiceCollection services, KeyCloakServerCo
2323
options => { });
2424
}
2525

26-
public static void AddSwaggerWithKeyCloakPasswordAuthentication(this ServiceCollection services, KeyCloakServerConfig config,
26+
public static void AddSwaggerWithKeyCloakPasswordAuthentication(this IServiceCollection services, KeyCloakServerConfig config,
2727
IDictionary<string, string> defaultScopes)
2828
{
2929
services.AddSwaggerGen(c =>

0 commit comments

Comments
 (0)