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