EmailPasswordAuthProvider class Application
A class, encapsulating functionality for users, logged in with Credentials.emailPassword(). It is always scoped to a particular app.
- Implemented types
Constructors
- EmailPasswordAuthProvider(App app)
-
Create a new EmailPasswordAuthProvider for the
app
Properties
Methods
-
callResetPasswordFunction(
String email, String password, {List? functionArgs}) → Future< void> - Calls the reset password function, configured on the server.
-
completeResetPassword(
String password, String token, String tokenId) → Future< void> -
Completes the reset password procedure by providing the desired new
password
using the password resettoken
andtokenId
that were emailed to a user. -
confirmUser(
String token, String tokenId) → Future< void> - Confirms a user with the given token and token id. These are typically included in the registration email.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerUser(
String email, String password) → Future< void> -
Registers a new user with the given email and password.
The
email
to register with. This will be the user's username and, if user confirmation is enabled, this will be the address for the confirmation email. Thepassword
to associate with the email. The password must be between 6 and 128 characters long. -
resendUserConfirmation(
String email) → Future< void> - Resend the confirmation email for a user to the given email.
-
resetPassword(
String email) → Future< void> - Sends a password reset email.
-
retryCustomConfirmationFunction(
String email) → Future< void> - Retries the custom confirmation function on a user for a given email.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited