From 5428cbdc1cb2293913ef29741c0a4d5b59614513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CAkshay?= <“ayyanchira.akshay@gmail.com”> Date: Wed, 7 Aug 2024 15:54:50 -0700 Subject: [PATCH] [MOB-9320] - AuthFailure parity with Android Removing additional reason in iOS SDK --- swift-sdk/AuthFailureReason.swift | 1 - swift-sdk/Internal/RequestProcessorUtil.swift | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/swift-sdk/AuthFailureReason.swift b/swift-sdk/AuthFailureReason.swift index 947c7d82a..dd4cff85c 100644 --- a/swift-sdk/AuthFailureReason.swift +++ b/swift-sdk/AuthFailureReason.swift @@ -19,5 +19,4 @@ import Foundation case authTokenNull case authTokenGenerationError case authTokenMissing - case authTokenInvalid } diff --git a/swift-sdk/Internal/RequestProcessorUtil.swift b/swift-sdk/Internal/RequestProcessorUtil.swift index cf1117bf2..b5c0d3311 100644 --- a/swift-sdk/Internal/RequestProcessorUtil.swift +++ b/swift-sdk/Internal/RequestProcessorUtil.swift @@ -99,7 +99,7 @@ struct RequestProcessorUtil { case "jwt authorization header is not set": return .authTokenMissing default: - return .authTokenInvalid + return .authTokenGenericError } }