DVMfa class final
When a route or a backend function needs a second factor.
Declared where the risk is rather than at sign-in: a payout wants a recent second factor, a settings page wants one at some point, most pages want none.
Constructors
- DVMfa.recent(Duration window)
-
Step-up: a second factor within
windowof now.const
Properties
Methods
-
isSatisfiedBy(
DVSession session, DateTime now) → bool -
Whether
sessionmeets this requirement atnow. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited