fish210717/login_mfa

the google twofactorauth

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

Type:project

V1.3.2 2022-12-21 06:19 UTC

This package is auto-updated.

Last update: 2024-04-21 09:06:45 UTC


README

google 双重认证

示例: $mfa = new LoginMfa(); $data = json_decode(($mfa->create($domain . '-' . $userName)), true);

$result = $mfa->verify($data['secret'], $data['code']);