senger/google-2fa

Autenticação em 2 fatores

v1.0 2020-07-17 00:21 UTC

This package is auto-updated.

Last update: 2024-09-27 23:27:15 UTC


README

A One Time Password Authentication package, compatible with Google Authenticator.

Ex:

use Senger\Google2fa\GoogleAuthenticator;

$ga = new GoogleAuthenticator();

$secret = $ga->createSecret();

$ga->verifyCode($secret, $gacode, 1);

Google 2fa.