CookieAuthenticationOptions.SystemClock Property
The SystemClock provides access to the system's current time coordinates. If it is not provided a default instance is used which calls DateTimeOffset.UtcNow. This is typically not replaced except for unit testing.
Namespace: Microsoft.Owin.Security.Cookies
Assembly: Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)
Syntax
'Declaration
Public Property SystemClock As ISystemClock
Get
Set
'Usage
Dim instance As CookieAuthenticationOptions
Dim value As ISystemClock
value = instance.SystemClock
instance.SystemClock = value
public ISystemClock SystemClock { get; set; }
public:
property ISystemClock^ SystemClock {
ISystemClock^ get ();
void set (ISystemClock^ value);
}
member SystemClock : ISystemClock with get, set
function get SystemClock () : ISystemClock
function set SystemClock (value : ISystemClock)
Property Value
Type: Microsoft.Owin.Infrastructure.ISystemClock