snappymail/plugins/two-factor-auth/providers/interface.php

9 lines
189 B
PHP
Raw Normal View History

2021-04-13 17:42:06 +08:00
<?php
interface TwoFactorAuthInterface
{
public function Label() : string;
public function VerifyCode(string $sSecret, string $sCode) : bool;
public function CreateSecret() : string;
}