AuthAdminStoreCapabilities class abstract interface

Optional data-plane operations required by the Admin plugin.

Production adapters implement these operations transactionally. Keeping them separate from AuthStore preserves source compatibility for stores that do not opt into administrative APIs.

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

deleteUserForAdministration(String userId) FutureOr<bool>
Deletes all core user-owned records as one transaction.
findCredentialForUser(String userId) FutureOr<AuthPasswordCredential?>
Finds a password credential owned by userId.
listUsersForAdministration() FutureOr<List<AuthUser>>
Lists users for an administrative view.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeTombstonedUserForAdministration(String userId) FutureOr<bool>
Permanently removes a previously tombstoned user during retention purge.
tombstoneUserForAdministration(String userId, {DateTime? deletedAt}) FutureOr<bool>
Replaces a user with a minimal unavailable tombstone and removes the user's core credentials, identities, sessions, and reset tokens.
toString() String
A string representation of this object.
inherited
updateUserForAdministration(AuthUser user) FutureOr<AuthUser?>
Updates a user through an administrative operation.
upsertCredentialForAdministration(AuthPasswordCredential credential) FutureOr<AuthPasswordCredential>
Creates or updates a password credential through administration.

Operators

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