AuthAnonymousCompleteUpgradeCommand class final
Finalizes an anonymous-to-authenticated account upgrade.
Session issuance is deliberately absent. The framework host authenticates targetUserId and issues its replacement session before submitting this command. The backend atomically validates and removes the anonymous source and its user-owned auth data while binding replay success to the host- authenticated target ID. The target need not be stored by JWT-only hosts.
Constructors
- AuthAnonymousCompleteUpgradeCommand({required String operationId, required String anonymousUserId, required String targetUserId})
- Creates an instance of AuthAnonymousCompleteUpgradeCommand.
Properties
- anonymousUserId → String
-
The identifier of anonymous user.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- operationId → String
-
The identifier of operation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetUserId → String
-
The identifier of target user.
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