AuthPasswordCredential class
Persisted password credential record.
This is a storage model, not request input. It contains only an encoded password hash and may safely be passed between typed persistence layers.
Constructors
Properties
- createdAt → DateTime
-
Time at which this credential was created.
final
- enabled → bool
-
Whether this credential may authenticate.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable persistence identifier for this credential.
final
- identifier → String
-
Normalized login identifier, such as an email or username.
final
- passwordHash → String
-
Self-contained encoded password hash; never plaintext.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt → DateTime
-
Time at which this credential was last changed.
final
- userId → String
-
User owning the credential.
final
Methods
-
copyWith(
{String? passwordHash, DateTime? updatedAt, bool? enabled}) → AuthPasswordCredential - Creates a changed copy of this credential.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toStorageJson(
) → Map< String, dynamic> - Serializes persistence-safe credential data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited