cachesistemas/google-authenticator

There is no license information available for the latest version (v1.0.0) of this package.

Google Authenticator

v1.0.0 2023-01-25 14:36 UTC

This package is auto-updated.

Last update: 2024-05-25 17:38:12 UTC


README

CONTATO

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f57686174734170702d3235443336363f7374796c653d666f722d7468652d6261646765266c6f676f3d7768617473617070266c6f676f436f6c6f723d7768697465 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d2d3243413545303f7374796c653d666f722d7468652d6261646765266c6f676f3d74656c656772616d266c6f676f436f6c6f723d7768697465 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d496e7374616772616d2d2532334534343035463f7374796c653d666f722d7468652d6261646765266c6f676f3d696e7374616772616d266c6f676f436f6c6f723d7768697465 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e6b6564496e2d2532333030373742353f7374796c653d666f722d7468652d6261646765266c6f676f3d6c696e6b6564696e266c6f676f436f6c6f723d7768697465

Example of use:

use Cachesistemas\GoogleAuthenticator;

include_once 'vendor/autoload.php';

$ga  = new GoogleAuthenticator():

create Secret

$secret = $ga->createSecret();

get QRCode Google Url

$qrCode = $ga->getQRCodeGoogleUrl("<email>", $secret,"<NAME>");

verify Code

$check = $ga->verifyCode($secret, "<code>", 2);