snappymail/plugins/two-factor-auth/providers/interface.php
2021-04-13 11:42:06 +02:00

9 lines
189 B
PHP

<?php
interface TwoFactorAuthInterface
{
public function Label() : string;
public function VerifyCode(string $sSecret, string $sCode) : bool;
public function CreateSecret() : string;
}