appwrite/src/Appwrite/Auth/MFA/Challenge.php
2024-01-08 12:54:39 +01:00

11 lines
279 B
PHP

<?php
namespace Appwrite\Auth\MFA;
use Utopia\Database\Document;
abstract class Challenge
{
abstract public static function verify(Document $user, string $otp): bool;
abstract public static function challenge(Document $challenge, Document $user, string $otp): bool;
}