From 532515badda0fe672db5ff7d498d25c5273f4f38 Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 14 May 2020 16:13:32 +0200 Subject: [PATCH] Renamed handleMayRequiredTan() to handleMayRequiresTan() --- fints4k/src/main/kotlin/net/dankito/fints/FinTsClient.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fints4k/src/main/kotlin/net/dankito/fints/FinTsClient.kt b/fints4k/src/main/kotlin/net/dankito/fints/FinTsClient.kt index 55f628b1..72d7cffd 100644 --- a/fints4k/src/main/kotlin/net/dankito/fints/FinTsClient.kt +++ b/fints4k/src/main/kotlin/net/dankito/fints/FinTsClient.kt @@ -537,7 +537,7 @@ open class FinTsClient @JvmOverloads constructor( val response = if (message.createdMessage == null) Response(false, messageCreationError = message) else getAndHandleResponseForMessage(message.createdMessage, dialogContext) - val handledResponse = handleMayRequiredTan(response, dialogContext) + val handledResponse = handleMayRequiresTan(response, dialogContext) // if there's a Aufsetzpunkt (continuationId) set, then response is not complete yet, there's more information to fetch by sending this Aufsetzpunkt handledResponse.aufsetzpunkt?.let { continuationId -> @@ -658,7 +658,7 @@ open class FinTsClient @JvmOverloads constructor( } - protected open fun handleMayRequiredTan(response: Response, dialogContext: DialogContext): Response { // TODO: use response from DialogContext + protected open fun handleMayRequiresTan(response: Response, dialogContext: DialogContext): Response { // TODO: use response from DialogContext if (response.isStrongAuthenticationRequired) { response.tanResponse?.let { tanResponse ->