Commit 48c8469
committed
Implement UseUserAccessGroup for Firebase Auth C++ SDK
This commit introduces the `UseUserAccessGroup` method to the Firebase
Authentication C++ SDK.
This method allows developers to specify a user access group for iCloud
keychain access on iOS. It calls the underlying Objective-C method
`[FIRAuth useUserAccessGroup:error:]`.
On other platforms (Desktop, Android), this method is a no-op and returns
`kAuthErrorNone` as the feature is iOS-specific.
Key changes:
- Added `UseUserAccessGroup` declaration to `firebase::auth::Auth` in
`auth/src/include/firebase/auth.h` with Doxygen comments.
- Implemented the iOS-specific logic in `auth/src/ios/auth_ios.mm`,
including error handling and string conversion.
- Added a stub implementation in `auth/src/desktop/auth_desktop.cc` for
non-iOS platforms.1 parent 2240e3c commit 48c8469
File tree
3 files changed
+38
-0
lines changed- auth/src
- desktop
- include/firebase
- ios
3 files changed
+38
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
578 | 583 | | |
579 | 584 | | |
580 | 585 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
520 | 535 | | |
521 | 536 | | |
522 | 537 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
611 | 629 | | |
612 | 630 | | |
0 commit comments