Repository navigation
feat(product): Support SemiHybrid Auth Mode - #185
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #185 +/- ##
==========================================
+ Coverage 88.63% 88.68% +0.04%
==========================================
Files 611 621 +10
Lines 21548 21970 +422
Branches 2597 2673 +76
==========================================
+ Hits 19099 19484 +385
- Misses 1539 1556 +17
- Partials 910 930 +20
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
This PR introduces SemiHybrid authentication, completing UltimateAuth's four-mode authentication architecture.
SemiHybrid combines local JWT validation with server-managed session lineage, allowing applications to balance performance and centralized security without changing their application-level authentication code.
What's Changed
SemiHybrid Authentication
RequireUAuthHubValidation()and[UAuthHubValidated]for protected resources.Session and Token Lifecycle
UAuthTokenOptions.Security and Configuration
Tests and Documentation
Authentication Architecture
UltimateAuth now supports all four authentication modes:
All four modes share the same unified APIs, authentication flows, and client abstractions.
Applications can evolve their authentication strategy through configuration without rewriting their shared UltimateAuth integration. Existing credentials may require retirement and reauthentication when switching modes.
One API. Four authentication strategies.