DVPasswordProvider class abstract interface

A provider that can set an account's password, for the generated password-change endpoint.

The endpoint decides when: only after the current password is checked through the credential guard, a second factor where the account has one, and the breach check. The provider only stores what it is told, refusing a password its own rules call weak.

Implemented types

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

changePassword(String id, String password) → Future<void>
Sets the password of the account with id. Throws AuthException with AuthFailure.weakPassword for a password the provider will not keep.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
userById(String id) → Future<AuthUser?>
The account with id, or null when there is none.
inherited

Operators

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