Reenable r/u2f-two-factor-bundle

This commit is contained in:
Jan Böhmer 2022-08-14 00:36:00 +02:00
parent 600119276c
commit 754926d4c8
10 changed files with 218 additions and 17 deletions

View file

@ -56,7 +56,7 @@ use u2flib_server\Registration;
* })
* @ORM\HasLifecycleCallbacks()
*/
class U2FKey /*implements TwoFactorKeyInterface*/
class U2FKey implements TwoFactorKeyInterface
{
use TimestampTrait;
@ -112,13 +112,13 @@ class U2FKey /*implements TwoFactorKeyInterface*/
**/
protected $user;
/*public function fromRegistrationData(Registration $data): void
public function fromRegistrationData(Registration $data): void
{
$this->keyHandle = $data->keyHandle;
$this->publicKey = $data->publicKey;
$this->certificate = $data->certificate;
$this->counter = $data->counter;
}*/
}
public function getKeyHandle()
{