DVWebAuthnVerification class

The outcome of verifying an assertion.

Carries a reason rather than only a boolean, because "the login failed" is not something an operator can act on and "the signature counter went backwards" is.

Constructors

DVWebAuthnVerification.failed(String reason)
const
DVWebAuthnVerification.passed(int signCount)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
ok → bool
Whether the assertion is genuine and current.
final
reason → String?
Why it was refused. Null when ok.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signCount → int
The counter the authenticator reported. Store it: the next assertion is checked against it.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited