Download the PHP package lizhijun/php-totp without Composer
On this page you can find all versions of the php package lizhijun/php-totp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-totp
PHP TOTP函数库
TOTP(Time-based One-Time Password),基于时间同步,主要通过一个时间因素来实现验证,它的生成依靠当前时间点与基准时间(如UNIX时间戳)的算法,从而生成出一个唯一的密码。
安装
调用
生成 TOTP 密钥 和 二维码字符串
验证 TOTP密钥
- 用户使用
密码验证器
扫码后,验证器生成一次性数字验证密码
- 服务端验证用户
一次性数字验证密码
和TOTP 密钥
- 生成密钥可持久化到关联用户表
验证器推荐
应用市场搜索并安装以下任一验证器:
- 谷歌身份验证器 (Google Authenticator)
- 微软身份验证器 (Microsoft Authenticator)
参考
All versions of php-totp with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3
The package lizhijun/php-totp contains the following files
Loading the files please wait ....