fish210717/login_mfa

the google twofactorauth

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

Type:project

pkg:composer/fish210717/login_mfa

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

This package is auto-updated.

Last update: 2025-12-21 13:06:26 UTC


README

google 双重认证

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

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