Add support for wrapping of inner JwtBearerOptions.EventsType#11
Open
PMoski wants to merge 2 commits intoinvio:masterfrom
Open
Add support for wrapping of inner JwtBearerOptions.EventsType#11PMoski wants to merge 2 commits intoinvio:masterfrom
PMoski wants to merge 2 commits intoinvio:masterfrom
Conversation
- Added a constructor to `JwtBearerEventsWrapperBase` for flexible inner service handling. - Implemented `InnerResolved` method to resolve inner `JwtBearerEvents` from the service provider. - Updated `JwtBearerOptionsExtensions` to dynamically set the `Events` property based on `EventsType`. - Enhanced `QueryStringJwtBearerEventsWrapper` with new constructors and validation checks. - Introduced new unit tests for `QueryStringJwtBearerEventsTypeWrapper` and `QueryStringJwtBearerEventsWrapperBaseTests`. - Refactored existing tests to align with the new structure and validate event wrapper behavior.
Author
|
Hey @carusology, can you take a look at my PR, please? |
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.
JwtBearerEventsWrapperBasefor flexible inner service handling.InnerResolvedmethod to resolve innerJwtBearerEventsfrom the service provider.JwtBearerOptionsExtensionsto dynamically set theEventsproperty based onEventsType.QueryStringJwtBearerEventsWrapperwith new constructors and validation checks.QueryStringJwtBearerEventsTypeWrapperandQueryStringJwtBearerEventsWrapperBaseTests.