web-base/core/Objects/KeyBasedTwoFactorToken.class.php

13 lines
266 B
PHP
Raw Normal View History

2022-02-20 16:53:26 +01:00
<?php
namespace Objects;
class KeyBasedTwoFactorToken extends TwoFactorToken {
const TYPE = "fido2";
public function __construct(string $secret, ?int $id = null, bool $confirmed = false) {
parent::__construct(self::TYPE, $secret, $id, $confirmed);
}
}