Skip to content
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

Regression tests: Token Type #2932

Merged
merged 11 commits into from
Oct 24, 2024
Merged

Regression tests: Token Type #2932

merged 11 commits into from
Oct 24, 2024

Conversation

iNinja
Copy link
Contributor

@iNinja iNinja commented Oct 23, 2024

Regression tests: Token Type

  • Added TokenTypeValidationError to create the exception and assign the invalid token type.
  • Renamed ValidationParameters.TypeValidator to ValidationParameters.TokenTypeValidator
  • Adjusted the creation of SecurityTokenInvalidTypeException to return the correct invalid type when it is empty or null
  • Added regression/comparison tests for token type validation scenarios

Resolves #2914

Part of #2711

@iNinja iNinja requested a review from a team as a code owner October 23, 2024 14:58
Copy link
Contributor

@kellyyangsong kellyyangsong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my comment regarding the breaking change in ValidationParameters

Copy link
Contributor

@kellyyangsong kellyyangsong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @iNinja

@iNinja iNinja merged commit aed25ca into dev Oct 24, 2024
5 checks passed
@iNinja iNinja deleted the iinglese/regression-tests-token-type branch November 15, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add comparison tests for Token Type validation in new validation model
3 participants