AuthEmailChangeToken class

One-time confirmation token for changing a user's email address.

The raw token is delivery-only. Typed stores must persist only its digest and return this value only to the caller that atomically consumes it.

Constructors

AuthEmailChangeToken({required String userId, required String newEmail, required String token, required DateTime expiresAt})
Creates a one-time email-change token record.

Properties

expiresAt DateTime
Time after which this token is invalid.
final
hashCode int
The hash code for this object.
no setterinherited
newEmail String
New email address awaiting confirmation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
Raw token delivered to the user for one-time confirmation.
final
userId String
User requesting the email change.
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