跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

SnWebTech SMS OTP Authentication

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

SnWebTech SMS OTP Authentication

作者:Shoubhik
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

SnWebTech SMS OTP Authentication lets users register and log in to a WordPress site using a One-Time Password (OTP) sent to their mobile number.

The plugin integrates with the SnWebTech SMS Gateway Pro Bulk SMS external SMS service at https://snbulksms.in. An active account and API credentials from the service are required to send OTP messages.

The plugin does not include a license activation system or paywall. The WordPress.org version provides its included functionality without requiring a license key.

Features
* OTP registration using a shortcode
* OTP login using a shortcode
* Integration with SnWebTech SMS Gateway Pro Bulk SMS
* Configurable API key, Sender ID, Entity ID, DLT Template ID, and SMS type
* Configurable OTP expiry, length, and message template
* Admin tools for sending a test OTP and checking gateway balance
* OTPs are hashed before storage
* Maximum verification attempts and OTP expiration
* Fully translatable

Shortcodes
* [swsmsotp_register] — Place on your registration page
* [swsmsotp_login] — Place on your login page

External Services

This plugin connects to SnWebTech SMS Gateway Pro Bulk SMS, an external SMS service operated by SnWebTech.

Service website: https://snbulksms.in

The service is required for sending OTP messages. When a visitor requests an OTP, the plugin sends the recipient’s mobile number, OTP message content, sender information, DLT template information, and the configured API credentials to the service’s API endpoint. The plugin also connects to the service when an administrator uses the gateway balance check or test SMS tools.

The plugin uses these service endpoints:
* https://snbulksms.in/api/send.php — sends OTP/test SMS messages.
* https://snbulksms.in/api/balance.php — checks the account balance when requested by an administrator.

Please review the service provider’s own terms and privacy information before using the service.

安装

  1. Upload the snwebtech-sms-otp-authentication folder to /wp-content/plugins/, or install the plugin from the WordPress Plugins screen.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Settings > SnWebTech SMS OTP Authentication.
  4. Enter your SnWebTech SMS Gateway Pro Bulk SMS API credentials and DLT information.
  5. Create a registration page and add [swsmsotp_register].
  6. Create a login page and add [swsmsotp_login].
  7. Use the Test Tools in the settings page to verify the SMS gateway connection.

常见问题

Where do I get the API key?

Create or use an account with SnWebTech SMS Gateway Pro Bulk SMS and obtain the API credentials provided by the service.

What mobile numbers are supported?

The plugin accepts Indian mobile numbers with 10 digits starting with 6-9.

Can I customize the OTP message?

Yes. Go to Settings > SnWebTech SMS OTP Authentication and edit the OTP Message Template. Use {OTP} for the OTP code and {EXPIRY} for the expiry period. The message should match your DLT-approved template.

Is the OTP stored securely?

OTPs are hashed using WordPress’s password hashing functionality before they are stored. Plain OTP values are not stored in the database.

Does this plugin require a license key?

No. This WordPress.org version does not use license activation or a paywall.

评价

此插件暂无评价。

贡献者及开发者

「SnWebTech SMS OTP Authentication」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Shoubhik

帮助将「SnWebTech SMS OTP Authentication」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.4

  • Updated plugin metadata and code-quality compatibility for WordPress.org review.
  • Removed the non-essential Author URI metadata.
  • Updated plugin version metadata to 1.0.4.

1.0.2

  • Updated code-quality checks for WordPress.org review.

1.0.0

  • Initial release.

额外信息

  • 版本 1.0.4
  • 最后更新:3 周前
  • 活跃安装数量 不到10
  • WordPress 版本 5.8 或更高版本
  • 已测试的最高版本为 7.1.2
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    authenticationloginotpregistrationsms
  • 高级视图

评级

尚未提交反馈。

您的评价

查看全部评论

贡献者

  • Shoubhik

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 周边商品 ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.