ISystemClock Interface¶
Abstracts the system clock to facilitate testing.
- Namespace
Microsoft.AspNetCore.Authentication
- Assemblies
- Microsoft.AspNetCore.Authentication
Properties¶
-
Microsoft.AspNetCore.Authentication.ISystemClock.
UtcNow
¶ Retrieves the current system time in UTC.
Return type: System.DateTimeOffset DateTimeOffset UtcNow { get; }
-