Renamed handleMayRequiredTan() to handleMayRequiresTan()

This commit is contained in:
dankito 2020-05-14 16:13:32 +02:00
parent 13f772a978
commit 532515badd
1 changed files with 2 additions and 2 deletions

View File

@ -537,7 +537,7 @@ open class FinTsClient @JvmOverloads constructor(
val response = if (message.createdMessage == null) Response(false, messageCreationError = message) val response = if (message.createdMessage == null) Response(false, messageCreationError = message)
else getAndHandleResponseForMessage(message.createdMessage, dialogContext) 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 // 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 -> 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) { if (response.isStrongAuthenticationRequired) {
response.tanResponse?.let { tanResponse -> response.tanResponse?.let { tanResponse ->