EmailIdpUtils class
Email account management functions.
This class provides atomic building blocks for composing custom authentication and administration flows. The building blocks are accessible through properties divided up into related groups.
- hashUtil - Utilities for hashing passwords and verification codes
- authentication - Utilities for authenticating users
- accountCreation - Utilities for creating and verifying email accounts
- passwordReset - Utilities for resetting passwords
For most standard use cases, the methods exposed by EmailIdp and EmailIdpAdmin should be sufficient.
Constructors
- EmailIdpUtils({required EmailIdpConfig config, AuthUsers authUsers = const AuthUsers()})
- Creates a new instance of EmailIdpUtils.
Properties
- account → EmailIdpAccountUtils
-
Utility functions for working with email accounts.
final
- accountCreation ↔ EmailIdpAccountCreationUtil
-
This class contains utility functions for the email identity provider
account creation.
latefinal
- authentication ↔ EmailIdpAuthenticationUtil
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- hashUtil → Argon2HashUtil
-
General hash util for the email identity provider.
final
- passwordReset ↔ EmailIdpPasswordResetUtil
-
Class for handling password reset operations in the email account module.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
withReplacedServerEmailException<
T> (Future< T> fn()) → Future<T> - Replaces server-side exceptions by client-side exceptions, hiding details that could leak account information.