We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f699938 + feb8e56 commit 4cb59a0Copy full SHA for 4cb59a0
swift-sdk/Internal/AuthManager.swift
@@ -113,6 +113,7 @@ class AuthManager: IterableAuthManagerProtocol {
113
114
let timeIntervalToRefresh = TimeInterval(expirationDate) - dateProvider.currentDate.timeIntervalSince1970 - expirationRefreshPeriod
115
116
+ clearRefreshTimer()
117
expirationRefreshTimer = Timer.scheduledTimer(withTimeInterval: timeIntervalToRefresh, repeats: false) { [weak self] _ in
118
self?.requestNewAuthToken(hasFailedPriorAuth: false)
119
}
0 commit comments