-
Notifications
You must be signed in to change notification settings - Fork 425
Fix ValidationParameters Inconsistencies #3173
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
base: dev
Are you sure you want to change the base?
Conversation
@@ -530,6 +531,7 @@ public TokenReplayValidationDelegate TokenReplayValidator | |||
/// all available keys will be tried. | |||
/// </summary> | |||
/// <remarks>Default is false.</remarks> | |||
[DefaultValue(true)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also needs to be set in the empty constructor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -530,6 +532,7 @@ public TokenReplayValidationDelegate TokenReplayValidator | |||
/// all available keys will be tried. | |||
/// </summary> | |||
/// <remarks>Default is false.</remarks> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the remarks to state that the default value is now true.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Few unit tests are failing that require investigation. |
Fix ValidationParameters Inconsistencies
Summary
This PR fixes inconsistencies in
ValidationParameters
by ensuring properties are copied correctly fromTokenValidationParameters
.Description
TryAllIssuerSigningKeys
property was not being copied in theValidationParameters(ValidationParameters other)
constructor.TryAllIssuerSigningKeys
.TryAllIssuerSigningKeys
wasfalse
by default, whereas it wastrue
in the current model. This has been aligned accordingly.ValidateActor
inValidationParameters
for consistency.Fixes #3131