email_otp_auth 0.0.6 copy "email_otp_auth: ^0.0.6" to clipboard
email_otp_auth: ^0.0.6 copied to clipboard

Email Otp Auth is a Flutter package that provides email verification via OTP (One-Time Password)

Description #

Email Otp Auth is a Flutter package that provides email verification via OTP (One-Time Password). This package includes two primary methods: sendOtp and verifyOtp. The sendOtp method sends an OTP to the specified email address, while the verifyOtp method verifies the OTP by matching it with the one that was sent via the sendOtp method.

Installation #

To use this package in your Flutter project, add the following import statement:

import 'package:email_otp_auth/email_otp_auth.dart';

Usage #

Sending OTP #

Use the sendOtp method to send an OTP to an email address.

EmailOtpAuth.sendOTP(email: emailController.text);

Verifying OTP #

Use the verifyOtp method to verify the OTP sent to the email address.

EmailOtpAuth.verifyOtp(otp: otpController.text);

Features #

  • Send OTP to any email address.
  • Verify OTP sent to an email address.

Example #

πŸ‘‰ For a complete example, refer to the Email OTP Auth package.

Report bugs or issues #

You are welcome to open a ticket on github if any 🐞 problems arise. New ideas are always welcome.

Contributors #

kamesh Singh
Kamesh Singh

Copyright Β© 2024 Kamesh Singh Sisodiya. Licensed under the MIT LICENSE

6
likes
0
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

Email Otp Auth is a Flutter package that provides email verification via OTP (One-Time Password)

Repository (GitHub)
View/report issues

Topics

#email #otp #email-verification #otp-authentication #email-otp-sender

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on email_otp_auth