Skip to content

Commit

Permalink
Remove ISystemClock
Browse files Browse the repository at this point in the history
Remove usage of `ISystemClock` to fix obsolete warning.
  • Loading branch information
martincostello committed Nov 14, 2023
1 parent 048df49 commit ac4b9a9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions generators/app/templates/AuthenticationHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ public partial class <%= name %>AuthenticationHandler : OAuthHandler<<%= name %>
/// <param name="options">The authentication options.</param>
/// <param name="logger">The logger to use.</param>
/// <param name="encoder">The URL encoder to use.</param>
/// <param name="clock">The system clock to use.</param>
public <%= name %>AuthenticationHandler(
[NotNull] IOptionsMonitor<<%= name %>AuthenticationOptions> options,
[NotNull] ILoggerFactory logger,
[NotNull] UrlEncoder encoder,
[NotNull] ISystemClock clock)
: base(options, logger, encoder, clock)
[NotNull] UrlEncoder encoder)
: base(options, logger, encoder)
{
}

Expand Down

0 comments on commit ac4b9a9

Please sign in to comment.