AuthAuthenticationMethodService class final

Composes provider and plugin inventories with the root-store transaction.

Constructors

AuthAuthenticationMethodService({required Object store, Iterable<AuthAuthenticationMethodInventoryContributor> contributors = const <AuthAuthenticationMethodInventoryContributor>[], Iterable<String> historicalAuthenticationMethodNamespaces = const []})
Creates a service for the supplied root store.

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

composeContributors(Iterable<AuthAuthenticationMethodInventoryContributor> contributors) → void
Finalizes the inventory after plugin topology registration.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeIfSafe({required String userId, required AuthAuthenticationMethod target, required AuthAuthenticationMethodMutation mutate}) Future<AuthAuthenticationMethodMutationResult>
Removes target only when another known usable method remains.
removeOAuthAccountIfSafe({required String userId, required String providerId, required String providerAccountId}) Future<AuthAuthenticationMethodMutationResult>
Atomically removes one exact external-provider account.
snapshotForUser(String userId) Future<AuthAuthenticationMethodSnapshot>
Returns a bounded aggregate snapshot without mutating storage.
toString() String
A string representation of this object.
inherited

Operators

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