web-base/core/Objects/KeyBasedTwoFactorToken.class.php
2022-02-20 16:53:26 +01:00

13 lines
266 B
PHP

<?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);
}
}