Commit 038ea43
committed
Implement Firebase Auth UseUserAccessGroup for C++ iOS SDK
This commit introduces the `UseUserAccessGroup` method to the Firebase
Authentication C++ SDK.
This method is specific to iOS and allows developers to specify a
keychain access group for user data. It calls the underlying
Objective-C method `[FIRAuth useUserAccessGroup:error:]`.
On Android and desktop platforms, this method is a no-op stub and
returns `kAuthErrorNone` as per its documented behavior for
non-iOS platforms.
Key changes:
- Added `Auth::UseUserAccessGroup(const char* access_group)` to the
public header `auth/src/include/firebase/auth.h` with Doxygen
comments.
- Implemented the iOS-specific logic in `auth/src/ios/auth_ios.mm`,
including error conversion from `NSError` to `AuthError`.
- Added stub implementations in `auth/src/desktop/auth_desktop.cc` and
`auth/src/android/auth_android.cc` returning `kAuthErrorNone`.1 parent 648848c commit 038ea43
File tree
4 files changed
+44
-0
lines changed- auth/src
- android
- desktop
- include/firebase
- ios
4 files changed
+44
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
673 | 679 | | |
674 | 680 | | |
675 | 681 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
578 | 584 | | |
579 | 585 | | |
580 | 586 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
505 | 524 | | |
506 | 525 | | |
507 | 526 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
593 | 606 | | |
594 | 607 | | |
595 | 608 | | |
| |||
0 commit comments