AuthVerification extension
- on
Static Methods
-
generateNumericVerificationCode(
String email, {int length = 6}) → Future< String> -
Available on Auth, provided by the AuthVerification extension
Generate numeric verification code (like OTP) -
generatePasswordResetCode(
String email, {int length = 6}) → Future< String> -
Available on Auth, provided by the AuthVerification extension
Generate numeric password reset code (OTP-style) -
resendPasswordResetCode(
String email) → Future< String> -
Available on Auth, provided by the AuthVerification extension
Optional: resend password reset code -
resendVerificationCode(
String email) → Future< String> -
Available on Auth, provided by the AuthVerification extension
Optional helper: resend new OTP after deleting the old one -
resetPasswordWithCode(
{required String email, required String code, required String newPassword}) → Future< bool> -
Available on Auth, provided by the AuthVerification extension
Verify reset code and change password -
verifyNumericCode(
String email, String code) → Future< bool> -
Available on Auth, provided by the AuthVerification extension
Verify numeric verification code