-
Notifications
You must be signed in to change notification settings - Fork 434
ValidateTokenAsync - New Path: Refactor result types #2794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
4067f67
Adding benchmark for new ValidateTokenAsync model vs old.
ea1c1be
Update benchmark/Microsoft.IdentityModel.Benchmarks/ValidateTokenAsyn…
FuPingFranco a7d2680
Updated class naming to be more explicit and added benchmark using clone
4f80ff7
Added benchmarks to compare performance on multiple validation scenarios
iNinja ae58f1b
Removed StackFrame from ValidationResult
iNinja a61ca89
Work in progress
iNinja c1e1ee9
Added project
iNinja e89a354
Added missing await
iNinja ea0fc3c
Removed tags, added implicit initialisers for Result type. Updated Re…
iNinja 227f763
Merge branch 'dev' into iinglese/refactor-results
iNinja d87e8dc
Removed IdentityComparer methods relating to removed result types. Up…
iNinja 395c781
Removed ITokenValidationError interface. Updated tests
iNinja 196daed
Replaced TokenValidationError with ExceptionDetails. Added stack fram…
iNinja 48dc149
Removed optionality from CancellationToken parameter
iNinja 93492ee
Updated tests
iNinja 5017401
Added ClaimsIdentity to ValidationResult
iNinja 3c2ce12
Merge branch 'dev' into iinglese/refactor-results
iNinja 90fce75
Updated benchmarks to match the result types and added CancellationToken
iNinja 09bc198
Removed test consoleapp, re-grouped benchmarks for better comparison
iNinja 32dcd6d
Removed unit type
iNinja 72e9574
Removed TokenValidationError since it is no longer used
iNinja 925ee09
Restored ExceptionType type name
iNinja f932e31
Restored ExceptionFromType method in ExceptionDetail
iNinja 6d4ac4d
Override Result's empty initialiser and annotate it to prevent wrong …
iNinja 44935be
Removed commented code.
iNinja 7abcffe
Commented empty if statement
iNinja f180111
Added cached stack frames and nullability annotations for ValidateTok…
iNinja 9ba4c7b
Added stack frames for ReadToken and DecryptToken
iNinja 168ee84
Added ValidationFailureType to ExceptionDetail
iNinja b407bad
Updated tests to use ValidationFailureType
iNinja 7988568
Update src/Microsoft.IdentityModel.Abstractions/Result.cs
iNinja fb2c6ee
Moved Result to Tokens project, made it internal. Reverted TargetFram…
iNinja c84d348
Addressed PR feedback around argument null exceptions
iNinja 1bb46d9
Merge branch 'dev' into iinglese/refactor-results
iNinja 4ddef57
Addressed PR comments. Removed unused imports. Increased epsilon for …
iNinja File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.