$totp.validate
¶
Description¶
Vérifie un token TOTP.
Syntaxe¶
$totp.validate( secretKey , token )
Paramètres¶
secretKey
string- Clé secrète TOTP
token
string- Token à vérifier
Retour¶
Retourne true
si le token est valide, sinon false
.
Exemple¶
Non disponible