leonis / google-authenticator
Google Authenticator
2.0
2020-06-24 07:27 UTC
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-09-24 16:36:57 UTC
README
google-authenticator
Google Authenticator 由 PHPGangsta/GoogleAuthenticator 分支而来
安装
composer require leonis/google-authenticator
用法
use \Leonis\GoogleAuthenticator\GoogleAuthenticator; $secret = GoogleAuthenticator::secret(); $code = GoogleAuthenticator::code($secret); $result = GoogleAuthenticator::verify($secret,$code);
许可证
MIT