mirror of
https://github.com/appwrite/appwrite
synced 2026-05-15 13:08:31 +00:00
11 lines
279 B
PHP
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;
|
|
}
|