diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-01-20 18:34:47 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2024-01-20 18:34:47 -0600 |
| commit | 26095bcf80af696a898bbfe62cf72ed1649d9eea (patch) | |
| tree | aa57a6fb990d2ec9650bf1cfdc0c6f7c95799190 /src/slskd/Common/Authentication | |
| parent | 22abf6f22f8172410c6c23567f0a5b90fc3e532d (diff) | |
| download | slskd-26095bcf80af696a898bbfe62cf72ed1649d9eea.tar.gz | |
resolve warnings
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) { } |
