fruit/otpkit

该包的最新版本(dev-master)没有提供许可证信息。

为Fruit框架提供的Google Authenticator助手

dev-master 2016-09-20 09:58 UTC

This package is auto-updated.

Last update: 2024-09-19 00:47:30 UTC


README

该包是Fruit框架的一部分。

OTPKit仍在开发中,目前不可用。

摘要

$otp = new TOTP('10 bytes binary string', 3);
if ($otp->validate($_POST['otp_pass'])) {
    // authorized!
}

许可证

任何版本的MIT、GPL或LGPL。