Skip to content

Commit ac4b9a9

Browse files
Remove ISystemClock
Remove usage of `ISystemClock` to fix obsolete warning.
1 parent 048df49 commit ac4b9a9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: generators/app/templates/AuthenticationHandler.cs

+2-4
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@ public partial class <%= name %>AuthenticationHandler : OAuthHandler<<%= name %>
2626
/// <param name="options">The authentication options.</param>
2727
/// <param name="logger">The logger to use.</param>
2828
/// <param name="encoder">The URL encoder to use.</param>
29-
/// <param name="clock">The system clock to use.</param>
3029
public <%= name %>AuthenticationHandler(
3130
[NotNull] IOptionsMonitor<<%= name %>AuthenticationOptions> options,
3231
[NotNull] ILoggerFactory logger,
33-
[NotNull] UrlEncoder encoder,
34-
[NotNull] ISystemClock clock)
35-
: base(options, logger, encoder, clock)
32+
[NotNull] UrlEncoder encoder)
33+
: base(options, logger, encoder)
3634
{
3735
}
3836

0 commit comments

Comments
 (0)