FixedDpopClock class final
A DpopClock that returns a fixed, settable time instead of the system clock - makes expiry/clock-skew behaviour deterministic in tests.
- Implemented types
Constructors
- FixedDpopClock(DateTime time)
-
Creates a clock starting at
time.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
now(
) → DateTime -
Returns the current UTC time.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited