DVStepUp class

Presents the second-factor challenge for a refused call, and sends it again.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

challenge ↔ Future<bool> Function(DVStepUpRequest request)?
Presents the challenge and answers whether a second factor was presented. Null presents nothing and the refusal is returned.
getter/setter pair

Static Methods

isRequired(DVHttpResponse response) → bool
Whether response is the server asking for a second factor (DV-SESSION-001) rather than any other refusal.
send(Future<DVHttpResponse> request()) → Future<DVHttpResponse>
Sends request; when the answer asks for a second factor, presents the challenge and, if one was presented, sends it once more.