diff options
Diffstat (limited to 'src/slskd/Common/Authentication')
| -rw-r--r-- | src/slskd/Common/Authentication/ApiKeyAuthentication.cs | 6 | ||||
| -rw-r--r-- | src/slskd/Common/Authentication/PassthroughAuthentication.cs | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs index b27c4c05..1aaa4a4f 100644 --- a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs +++ b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs @@ -49,14 +49,12 @@ namespace slskd.Authentication /// <param name="securityService">The security service.</param> /// <param name="logger">A logger factory.</param> /// <param name="urlEncoder">A url encoder.</param> - /// <param name="systemClock">A system clock interface.</param> public ApiKeyAuthenticationHandler( IOptionsMonitor<ApiKeyAuthenticationOptions> apiKeyOptionsMonitor, ISecurityService securityService, ILoggerFactory logger, - UrlEncoder urlEncoder, - ISystemClock systemClock) - : base(apiKeyOptionsMonitor, logger, urlEncoder, systemClock) + UrlEncoder urlEncoder) + : base(apiKeyOptionsMonitor, logger, urlEncoder) { Security = securityService; } diff --git a/src/slskd/Common/Authentication/PassthroughAuthentication.cs b/src/slskd/Common/Authentication/PassthroughAuthentication.cs index 5f186aea..510e4a19 100644 --- a/src/slskd/Common/Authentication/PassthroughAuthentication.cs +++ b/src/slskd/Common/Authentication/PassthroughAuthentication.cs @@ -46,9 +46,8 @@ namespace slskd.Authentication /// <param name="optionsMonitor">An options monitor.</param> /// <param name="logger">A logger factory.</param> /// <param name="urlEncoder">A url encoder.</param> - /// <param name="systemClock">A system clock interface.</param> - public PassthroughAuthenticationHandler(IOptionsMonitor<PassthroughAuthenticationOptions> optionsMonitor, ILoggerFactory logger, UrlEncoder urlEncoder, ISystemClock systemClock) - : base(optionsMonitor, logger, urlEncoder, systemClock) + public PassthroughAuthenticationHandler(IOptionsMonitor<PassthroughAuthenticationOptions> optionsMonitor, ILoggerFactory logger, UrlEncoder urlEncoder) + : base(optionsMonitor, logger, urlEncoder) { } |
