AuthTwoFactorStepUpStore class abstract interface

Persistence contract for short-lived step-up proofs.

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

create(AuthTwoFactorStepUpRecord record) FutureOr<AuthTwoFactorStepUpRecord>
Persists a newly issued step-up proof.
findActive(String userId, String sessionBindingHash, String tokenHash, {required DateTime now}) FutureOr<AuthTwoFactorStepUpRecord?>
Finds an unexpired proof bound to the supplied user and session.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
revokeAll(String userId, String sessionBindingHash) FutureOr<void>
Revokes proofs for one user and session binding.
revokeAllForUser(String userId) FutureOr<void>
Revokes every proof issued for userId, regardless of session binding.
toString() String
A string representation of this object.
inherited

Operators

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