Become a sponsor
AuthHandler
The Flutter AuthHandler
package is fast and simple to use. An OTP is sent to the recipient via email, which can be used to verify their account information.
AuthHandler Configuration
First, you need to create a AuthHandler
instance. You need to follow the steps below
AuthHandler authHandler = AuthHandler();
If you want to use the default configuration, you can use this step.
authHandler.config();
If you want to use the custom configuration, you can use this step, You need to pass in the following parameters.
authHandler.config(
senderEmail: "noreply@copyit.dev",
senderName: "Copyit",
otpLength: 6,
);
To send an OTP to recipient's email address, follow this step
authHandler.sendOtp(emailController.text);
Here's how to verify the OTP
authHandler.verifyOtp(otpController.text);
Report bugs or issues
You are welcome to open a ticket on github if any problems arise. New ideas are always welcome.
Copyright and License
Copyright © 2022 Rahul Chouhan. Licensed under the MIT LICENSE.