-
Notifications
You must be signed in to change notification settings - Fork 409
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extensibility tests: Token Type - JWT (#3030)
* Updated TokenTypeValidationError and updated the default token type validation delegate to use it * Added log message and validation failure type for the case where the token type validation delegate throws * Added custom validation error and validation delegates for token type validation (cherry picked from commit 058c87e) * Handle the case where the token type validation delegate throws in JsonWebTokenHandler (cherry picked from commit 63ac325) * Added extensibility tests for token type validation on JWT (cherry picked from commit 658ac48) * Updated validation failure type position in tests * Update src/Microsoft.IdentityModel.Tokens/Validation/ValidationFailureType.cs Co-authored-by: Westin Musser <[email protected]> --------- Co-authored-by: Westin Musser <[email protected]>
- Loading branch information
Showing
9 changed files
with
496 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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.