mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
24 lines
689 B
PHP
24 lines
689 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* SPDX-FileCopyrightText: 2025 LibreCode coop and contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCA\Libresign\Service\IdentifyMethod;
|
|
|
|
use OCA\Libresign\Service\IdentifyMethod\SignatureMethod\ISignatureMethod;
|
|
|
|
class Sms extends TwofactorGateway {
|
|
public array $availableSignatureMethods = [
|
|
ISignatureMethod::SIGNATURE_METHOD_CLICK_TO_SIGN,
|
|
ISignatureMethod::SIGNATURE_METHOD_SMS,
|
|
];
|
|
|
|
#[\Override]
|
|
public function getFriendlyName(): string {
|
|
// TRANSLATORS Name of possible authenticator method. This signalize that the signer could be identified by SMS
|
|
return $this->identifyService->getL10n()->t('SMS');
|
|
}
|
|
}
|