Skip to content

Commit 8ba46b2

Browse files
docs: readme
1 parent e749e11 commit 8ba46b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

FirebaseSwiftUI/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,17 +1529,17 @@ public enum AuthServiceError: Error {
15291529
case providerNotFound(String)
15301530
case invalidCredentials(String)
15311531
case multiFactorAuth(String)
1532-
case simpleReauthenticationRequired(context: ReauthContext)
1533-
case emailReauthenticationRequired(context: ReauthContext)
1534-
case phoneReauthenticationRequired(context: ReauthContext)
1532+
case oauthReauthenticationRequired(context: OAuthReauthContext)
1533+
case emailReauthenticationRequired(context: EmailReauthContext)
1534+
case phoneReauthenticationRequired(context: PhoneReauthContext)
15351535
case accountConflict(AccountConflictContext)
15361536
}
15371537
```
15381538

15391539
Errors specific to `AuthService` operations.
15401540

15411541
**Reauthentication Errors:**
1542-
- `simpleReauthenticationRequired`: For providers like Google, Apple, Facebook, Twitter. Pass the context to `authService.reauthenticate(context:)`.
1542+
- `oauthReauthenticationRequired`: For OAuth providers like Google, Apple, Facebook, Twitter. Pass the context to `authService.reauthenticate(context:)`.
15431543
- `emailReauthenticationRequired`: For email/password authentication. Must handle password prompt externally.
15441544
- `phoneReauthenticationRequired`: For phone authentication. Must handle SMS verification flow externally.
15451545

0 commit comments

Comments
 (0)