File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -355,6 +355,20 @@ FIR_SWIFT_NAME(Auth)
355
355
</li>
356
356
<li>@c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed.
357
357
</li>
358
+ <li>@c FIRAuthErrorCodeMissingVerificationID - Indicates that the phone auth credential was
359
+ created with an empty verification ID.
360
+ </li>
361
+ <li>@c FIRAuthErrorCodeMissingVerificationCode - Indicates that the phone auth credential
362
+ was created with an empty verification code.
363
+ </li>
364
+ <li>@c FIRAuthErrorCodeInvalidVerificationCode - Indicates that the phone auth credential
365
+ was created with an invalid verification Code.
366
+ </li>
367
+ <li>@c FIRAuthErrorCodeInvalidVerificationID - Indicates that the phone auth credential was
368
+ created with an invalid verification ID.
369
+ </li>
370
+ <li>@c FIRAuthErrorCodeSessionExpired - Indicates that the SMS code has expired.
371
+ </li>
358
372
</ul>
359
373
360
374
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
Original file line number Diff line number Diff line change @@ -524,7 +524,7 @@ - (void)internalSignInAndRetrieveDataWithCredential:(FIRAuthCredential *)credent
524
524
isReauthentication : (BOOL )isReauthentication
525
525
callback : (nullable FIRAuthDataResultCallback)callback {
526
526
if ([credential isKindOfClass: [FIREmailPasswordAuthCredential class ]]) {
527
- // Special case for email/password credentials:
527
+ // Special case for email/password credentials
528
528
FIREmailPasswordAuthCredential *emailPasswordCredential =
529
529
(FIREmailPasswordAuthCredential *)credential;
530
530
[self signInWithEmail: emailPasswordCredential.email
@@ -541,7 +541,7 @@ - (void)internalSignInAndRetrieveDataWithCredential:(FIRAuthCredential *)credent
541
541
542
542
#if TARGET_OS_IOS
543
543
if ([credential isKindOfClass: [FIRPhoneAuthCredential class ]]) {
544
- // Special case for phone auth credential
544
+ // Special case for phone auth credentials
545
545
FIRPhoneAuthCredential *phoneCredential = (FIRPhoneAuthCredential *)credential;
546
546
[self signInWithPhoneCredential: phoneCredential callback: ^(FIRUser *_Nullable user,
547
547
NSError *_Nullable error) {
You can’t perform that action at this time.
0 commit comments