Repository navigation
product(Refactor): Simplify Core, Align Configuration, Domain and Contract Ownership - #184
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (33.33%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## dev #184 +/- ##
==========================================
+ Coverage 88.31% 88.63% +0.31%
==========================================
Files 620 611 -9
Lines 21697 21548 -149
Branches 2643 2597 -46
==========================================
- Hits 19162 19099 -63
+ Misses 1614 1539 -75
+ Partials 921 910 -11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Simplifies the UltimateAuth Core architecture by removing legacy configuration infrastructure, reducing external dependencies, and aligning types with their owning layers.
Core now focuses on shared domain primitives, contracts, abstractions, and foundational services, while runtime-specific configuration is owned by the Server and Client packages.
What's Changed
Core Simplification
UAuthOptionsand legacy direct Core configuration infrastructure.AddUltimateAuth()to register only essential shared services.UAuthProductInfoProvider.Runtime Ownership
Cleanup and Testing
Breaking Changes
AddUltimateAuth(Action<UAuthOptions>)is no longer supported.UltimateAuth:Coreconfiguration section is no longer used.Authentication configuration should be provided through the corresponding Server or Client registration APIs.
Architectural Impact
This refactoring establishes clearer package boundaries, reduces unnecessary coupling, and provides a cleaner foundation for future authentication modes and runtime extensions.
No new authentication features are introduced in this PR. Further configuration validation improvements remain outside its scope.