Deli z drugimi prek


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

public ISystemClock SystemClock { get; set; }
public:
property ISystemClock^ SystemClock {
    ISystemClock^ get();
    void set(ISystemClock^ value);
}
member SystemClock : ISystemClock with get, set
Public Property SystemClock As ISystemClock

Property Value

Type: Microsoft.Owin.Infrastructure.ISystemClock

Returns ISystemClock.

See Also

CookieAuthenticationOptions Class
Microsoft.Owin.Security.Cookies Namespace

Return to top