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
29 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.Facebook (1)
FacebookHandler.cs (1)
27public FacebookHandler(IOptionsMonitor<FacebookOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
Microsoft.AspNetCore.Authentication.Google (1)
GoogleHandler.cs (1)
28public GoogleHandler(IOptionsMonitor<GoogleOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
Microsoft.AspNetCore.Authentication.JwtBearer (1)
JwtBearerHandler.cs (1)
27public JwtBearerHandler(IOptionsMonitor<JwtBearerOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
MicrosoftAccountHandler.cs (1)
28public MicrosoftAccountHandler(IOptionsMonitor<MicrosoftAccountOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
Microsoft.AspNetCore.Authentication.Negotiate (1)
NegotiateHandler.cs (1)
35public NegotiateHandler(IOptionsMonitor<NegotiateOptions> 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.Authentication.OpenIdConnect (2)
OpenIdConnectHandler.cs (2)
54/// <param name="clock">The <see cref="ISystemClock"/>.</param> 56public OpenIdConnectHandler(IOptionsMonitor<OpenIdConnectOptions> options, ILoggerFactory logger, HtmlEncoder htmlEncoder, UrlEncoder encoder, ISystemClock clock)
Microsoft.AspNetCore.Authentication.Twitter (1)
TwitterHandler.cs (1)
42public TwitterHandler(IOptionsMonitor<TwitterOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock)
Microsoft.AspNetCore.Authentication.WsFederation (1)
WsFederationHandler.cs (1)
31public WsFederationHandler(IOptionsMonitor<WsFederationOptions> 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)