项目作者: yl

项目描述 :
Google Authenticator
高级语言: PHP
项目地址: git://github.com/yl/google-authenticator.git
创建时间: 2017-10-10T02:09:56Z
项目社区:https://github.com/yl/google-authenticator

开源协议:

下载


StyleCI
Build Status
Latest Stable Version
Total Downloads
License

google-authenticator

Google Authenticator Forked from PHPGangsta/GoogleAuthenticator

Installation

  1. composer require leonis/google-authenticator

Usage

  1. use \Leonis\GoogleAuthenticator\GoogleAuthenticator;
  2. $secret = GoogleAuthenticator::secret();
  3. $code = GoogleAuthenticator::code($secret);
  4. $result = GoogleAuthenticator::verify($secret,$code);

License

MIT