2017-06-22 11:33:45 -04:00
|
|
|
<?php
|
2018-09-26 10:25:18 -04:00
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2017-06-22 11:33:45 -04:00
|
|
|
/**
|
2024-05-30 14:13:41 -04:00
|
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-06-22 11:33:45 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCA\TwoFactorBackupCodes\Settings;
|
|
|
|
|
|
2018-09-26 10:25:18 -04:00
|
|
|
use OCP\Authentication\TwoFactorAuth\IPersonalProviderSettings;
|
|
|
|
|
use OCP\Template;
|
2017-06-22 11:33:45 -04:00
|
|
|
|
2018-09-26 10:25:18 -04:00
|
|
|
class Personal implements IPersonalProviderSettings {
|
|
|
|
|
public function getBody(): Template {
|
2019-01-17 06:30:47 -05:00
|
|
|
return new Template('twofactor_backupcodes', 'personal');
|
2017-06-22 11:33:45 -04:00
|
|
|
}
|
|
|
|
|
}
|