File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class AuthManager: IterableInternalAuthManagerProtocol {
42
42
}
43
43
44
44
// @objc attribute only needed for the pre-iOS 10 Timer constructor in queueAuthTokenExpirationRefresh
45
- @objc func requestNewAuthToken( hasFailedPriorAuth: Bool = false , onSuccess: ( ( String ? ) -> Void ) ? = nil ) {
45
+ @objc func requestNewAuthToken( hasFailedPriorAuth: Bool = false , onSuccess: AuthTokenRetrievalHandler ? = nil ) {
46
46
guard !pendingAuth else {
47
47
return
48
48
}
@@ -92,7 +92,7 @@ class AuthManager: IterableInternalAuthManagerProtocol {
92
92
queueAuthTokenExpirationRefresh ( authToken)
93
93
}
94
94
95
- private func onAuthTokenReceived( retrievedAuthToken: String ? , onSuccess: ( ( String ? ) -> Void ) ? ) {
95
+ private func onAuthTokenReceived( retrievedAuthToken: String ? , onSuccess: AuthTokenRetrievalHandler ? ) {
96
96
pendingAuth = false
97
97
98
98
authToken = retrievedAuthToken
You can’t perform that action at this time.
0 commit comments