Commit d5a7a3f
authored
feat(auth): Add bulk user import functionality and hashing algorithms namespace (#191)
* Add progress for bulk importing users
* Add more unit tests
* Fix bug for custom claims, add test for custom claims and user provider
* Add ImportUserRecordArgs tests
* Add newlines at the end of files
* Leverage pre-existing UserRecordArgs validators, general code refactoring
* Cleanup indentation
* Minor refactoring
* Fix indentation
* Add missing newline in Sha512
* Fix Scrypt lowerbound to be 0, nested conditionals
* Update Scrypt lowerbound test to match fixed lowerbound
* Address feedback for user imports
* Address review feedback for user import implementation
* Refactor to use var in for loops within UserImportHashTest
* Address feedback for user import implementation
* Address feedback for user import unit tests (#193)
* Address integration test feedback
* Add user email verification to test
* Invoke ImportUserAsync using overloaded method without options
* Enhance user import integration test by verifying user can login (#194)
* Add signing in as part of import users integration tests
* Address doc review comments
* Change uid to user ID in API docs
* Add sample snippets for user imports (#195)
* Add sample snippets for user imports
* Make Pbkdf2Sha256 hash use 100000 rounds
* Address some failing linting results
* Remove trailing whitespace
* Resolve Auth snippet salt and hash flip
* Add comments and use string interpolation whenever possible1 parent 21d535f commit d5a7a3f
File tree
34 files changed
+2502
-39
lines changed- FirebaseAdmin
- FirebaseAdmin.IntegrationTests
- FirebaseAdmin.Snippets
- FirebaseAdmin.Tests/Auth
- Hash
- FirebaseAdmin/Auth
- Hash
34 files changed
+2502
-39
lines changedLines changed: 103 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
513 | 615 | | |
514 | 616 | | |
515 | 617 | | |
| |||
0 commit comments