diff options
author | Xiangtian Dai <xiangtian@google.com> | 2017-09-06 11:36:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-06 11:36:26 -0700 |
commit | 96685dfbb9936ec9b875491ccad9891231afd7ba (patch) | |
tree | dfaf8a808b80493de79df9613d05fcce38edbc87 /Firebase | |
parent | b5ed1c60f66310b59a63fca268d9d5e1cdd5365d (diff) |
Deprecates the old phone number auth method. (#236)
Diffstat (limited to 'Firebase')
-rw-r--r-- | Firebase/Auth/Source/Public/FIRPhoneAuthProvider.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Firebase/Auth/Source/Public/FIRPhoneAuthProvider.h b/Firebase/Auth/Source/Public/FIRPhoneAuthProvider.h index 713c8a9..90cfebd 100644 --- a/Firebase/Auth/Source/Public/FIRPhoneAuthProvider.h +++ b/Firebase/Auth/Source/Public/FIRPhoneAuthProvider.h @@ -58,8 +58,7 @@ FIR_SWIFT_NAME(PhoneAuthProvider) + (instancetype)providerWithAuth:(FIRAuth *)auth FIR_SWIFT_NAME(provider(auth:)); /** @fn verifyPhoneNumber:completion: - @brief Starts the phone number authentication flow by sending a verifcation code to the - specified phone number. + @brief Please use @c verifyPhoneNumber:UIDelegate:completion: instead. @param phoneNumber The phone number to be verified. @param completion The callback to be invoked when the verification flow is finished. @@ -84,7 +83,8 @@ FIR_SWIFT_NAME(PhoneAuthProvider) </ul> */ - (void)verifyPhoneNumber:(NSString *)phoneNumber - completion:(nullable FIRVerificationResultCallback)completion; + completion:(nullable FIRVerificationResultCallback)completion + __attribute__((deprecated)); /** @fn verifyPhoneNumber:UIDelegate:completion: @brief Starts the phone number authentication flow by sending a verifcation code to the |