dolibarr.bankimport/vendor/nemiah/php-fints/lib/Fhp/Model/TanMedium.php
data 8b64fd24d3 feat: php-fints 4.0 Update + HKEKA/HKKAA Segmente (WIP)
- php-fints Bibliothek von 3.7.0 auf 4.0.0 aktualisiert
- Parser-Fix: Ignoriert zusätzliche Bank-Felder statt Exception
- HKEKA Segmente implementiert (HIEKASv5, HKEKAv5, HIEKAv5)
- HKKAA Segmente implementiert (HIKAASv1, HKKAAv1)
- GetStatementFromArchive und GetElectronicStatement Actions

HINWEIS: HKKAA/HKEKA funktionieren noch nicht mit VR Bank
(Fehler "unerwarteter Aufbau wrt DE 2" - Kontoverbindungsformat)
Normale Funktionalität (Transaktionsimport) ist nicht betroffen.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-05 15:47:27 +01:00

27 lines
1.2 KiB
PHP

<?php
/** @noinspection PhpUnused */
namespace Fhp\Model;
/**
* For two-step authentication, users need to enter a TAN, which can be obtained in various ways. After choosing one of
* these ways, i.e. choosing a a {@link TanMode} (SMS, TAN generator device, and so on), the user might have to choose
* which of their TAN media they want to use within this mode, in case they have multiple. For instance, a user might
* have multiple mobile phone numbers configured for smsTAN, might have multiple TAN generators, or multiple iTAN lists.
* Each {@link TanMedium} instance describes one of these options.
*/
interface TanMedium
{
/**
* @return string A user-readable name for this TAN medium, which serves as its identifier at the same time. This is
* what the application needs to persist when it wants to remember the users decision for future transactions.
*/
public function getName(): string;
/**
* @return string|null In case this is a mobileTAN/smsTAN medium, this is its (possibly obfuscated) phone number.
*/
public function getPhoneNumber(): ?string;
// TODO Consider making more information from TanMediumListeV4 available here.
}