We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4720ada commit 1483421Copy full SHA for 1483421
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