email_otp_auth 0.0.8 copy "email_otp_auth: ^0.0.8" to clipboard
email_otp_auth: ^0.0.8 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

0
likes
150
pub points
70%
popularity

Publisher

unverified uploader

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on email_otp_auth