2 implementations of ISystemClock
Microsoft.AspNetCore.Authentication (1)
SystemClock.cs (1)
10public class SystemClock : ISystemClock
Microsoft.AspNetCore.Identity (1)
TimeProviderClock.cs (1)
10internal class TimeProviderClock : ISystemClock
20 references to ISystemClock
Microsoft.AspNetCore.Authentication (13)
AuthenticationHandler.cs (4)
72/// Gets the <see cref="ISystemClock"/>. 75protected ISystemClock Clock { get; private set; } 115/// <param name="clock">The <see cref="ISystemClock"/>.</param> 117protected AuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
AuthenticationServiceCollectionExtensions.cs (1)
28services.TryAddSingleton<ISystemClock, SystemClock>();
PolicySchemeHandler.cs (2)
22/// <param name="clock">The <see cref="ISystemClock"/>.</param> 24public PolicySchemeHandler(IOptionsMonitor<PolicySchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
RemoteAuthenticationHandler.cs (2)
46/// <param name="clock">The <see cref="ISystemClock"/>.</param> 48protected RemoteAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
SignInAuthenticationHandler.cs (2)
23/// <param name="clock">The <see cref="ISystemClock"/>.</param> 25public SignInAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
SignOutAuthenticationHandler.cs (2)
22/// <param name="clock">The <see cref="ISystemClock"/>.</param> 24public SignOutAuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock)
Microsoft.AspNetCore.Authentication.Cookies (2)
CookieAuthenticationHandler.cs (2)
42/// <param name="clock">The <see cref="ISystemClock"/>.</param> 44public CookieAuthenticationHandler(IOptionsMonitor<CookieAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
45public OAuthHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
Microsoft.AspNetCore.Identity (4)
SecurityStampValidator.cs (3)
27public SecurityStampValidator(IOptions<SecurityStampValidatorOptions> options, SignInManager<TUser> signInManager, ISystemClock clock, ILoggerFactory logger) 68/// The <see cref="ISystemClock"/>. 71public ISystemClock Clock { get; }
TwoFactorSecurityStampValidator.cs (1)
26public TwoFactorSecurityStampValidator(IOptions<SecurityStampValidatorOptions> options, SignInManager<TUser> signInManager, ISystemClock clock, ILoggerFactory logger) : base(options, signInManager, clock, logger)