@@ -243,7 +243,7 @@ import Foundation
243243 provider: . phone,
244244 action: . sendVerificationCode
245245 )
246- let response = try await AuthBackend . call ( with: request)
246+ let response = try await auth . backend . call ( with: request)
247247 return response. verificationID
248248 } catch {
249249 return try await handleVerifyErrorWithRetry ( error: error,
@@ -270,7 +270,7 @@ import Foundation
270270 requestConfiguration: auth
271271 . requestConfiguration)
272272 do {
273- let response = try await AuthBackend . call ( with: request)
273+ let response = try await auth . backend . call ( with: request)
274274 return response. verificationID
275275 } catch {
276276 return try await handleVerifyErrorWithRetry (
@@ -300,7 +300,7 @@ import Foundation
300300 codeIdentity: CodeIdentity . empty,
301301 requestConfiguration: auth. requestConfiguration
302302 )
303- let response = try await AuthBackend . call ( with: request)
303+ let response = try await auth . backend . call ( with: request)
304304 return response. verificationID
305305 }
306306 guard let session else {
@@ -323,7 +323,7 @@ import Foundation
323323 provider: . phone,
324324 action: . mfaSmsEnrollment
325325 )
326- let response = try await AuthBackend . call ( with: request)
326+ let response = try await auth . backend . call ( with: request)
327327 return response. phoneSessionInfo? . sessionInfo
328328 } else {
329329 let request = StartMFASignInRequest ( MFAPendingCredential: session. mfaPendingCredential,
@@ -335,7 +335,7 @@ import Foundation
335335 provider: . phone,
336336 action: . mfaSmsSignIn
337337 )
338- let response = try await AuthBackend . call ( with: request)
338+ let response = try await auth . backend . call ( with: request)
339339 return response. responseInfo? . sessionInfo
340340 }
341341 } catch {
0 commit comments