diff --git a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/TanMethodType.kt b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/TanMethodType.kt index 24abe46e..f1b7ffae 100644 --- a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/TanMethodType.kt +++ b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/tan/TanMethodType.kt @@ -45,6 +45,15 @@ enum class TanMethodType { addAll(listOf(TanMethodType.ChipTanManual)) // this is quite inconvenient for user, so i added it as last } + /** + * The same as [NonVisualOrImageBased] but including [ChipTanFlickerCode] - for applications supporting it - as + * FlickerCode is still the most used ChipTan procedure. + */ + val NonVisualOrImageBasedOrFlickerCode = NonVisualOrImageBased.toMutableList().apply { + val index = this.indexOf(ChipTanQrCode) + this.add(index, ChipTanFlickerCode) + }.toList() + val TanMethodsNotSupportedByMostApplications = listOf(TanMethodType.ChipTanUsb) }