File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ import Foundation
298298
299299 /// Starts the flow to verify the client via silent push notification. This is used in both
300300 /// .Audit and .Enforce mode
301- /// - Parameter retryOnInvalidAppCredential: Whether of not the flow should be retried if an
301+ /// - Parameter retryOnInvalidAppCredential: Whether or not the flow should be retried if an
302302 /// AuthErrorCodeInvalidAppCredential error is returned from the backend.
303303 /// - Parameter phoneNumber: The phone number to be verified.
304304 private func verifyClAndSendVerificationCodeWithRecaptcha( toPhoneNumber phoneNumber: String ,
@@ -367,7 +367,7 @@ import Foundation
367367
368368 /// Starts the flow to verify the client via silent push notification.
369369 /// This method is called in Audit fallback flow with "NO_RECAPTCHA" fake token and Off flow
370- /// - Parameter retryOnInvalidAppCredential: Whether of not the flow should be retried if an
370+ /// - Parameter retryOnInvalidAppCredential: Whether or not the flow should be retried if an
371371 /// AuthErrorCodeInvalidAppCredential error is returned from the backend.
372372 /// - Parameter phoneNumber: The phone number to be verified.
373373 private func verifyClAndSendVerificationCode( toPhoneNumber phoneNumber: String ,
Original file line number Diff line number Diff line change 8585 return _shared
8686 }
8787
88+ /// This function is only for testing.
8889 class func setShared( _ instance: AuthRecaptchaVerifier , auth: Auth ? ) {
8990 _shared = instance
9091 _ = shared ( auth: auth)
Original file line number Diff line number Diff line change 4545 private let kRecaptchaVersion : String = " RECAPTCHA_ENTERPRISE "
4646
4747 static var auth : Auth ?
48- // static var authRecaptchaVerifier: AuthRecaptchaVerifier
4948
5049 /** @fn testCredentialWithVerificationID
5150 @brief Tests the @c credentialWithToken method to make sure that it returns a valid AuthCredential instance.
You can’t perform that action at this time.
0 commit comments