-
Notifications
You must be signed in to change notification settings - Fork 434
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?
Changes from 1 commit
aabf2e9
dab701f
582ad50
4faf727
701c043
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -93,6 +93,7 @@ protected ValidationParameters(ValidationParameters other) | |
| _signatureValidator = other.SignatureValidator; | ||
| TimeProvider = other.TimeProvider; | ||
| TryAllDecryptionKeys = other.TryAllDecryptionKeys; | ||
| TryAllIssuerSigningKeys = other.TryAllIssuerSigningKeys; | ||
| TokenDecryptionKeyResolver = other.TokenDecryptionKeyResolver; | ||
| _tokenDecryptionKeys = other.TokenDecryptionKeys; | ||
| TokenReplayCache = other.TokenReplayCache; | ||
|
|
@@ -530,6 +531,7 @@ public TokenReplayValidationDelegate TokenReplayValidator | |
| /// all available keys will be tried. | ||
| /// </summary> | ||
| /// <remarks>Default is false.</remarks> | ||
| [DefaultValue(true)] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This also needs to be set in the empty constructor.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It might be better to set the value on the property as if a new ctor is created it may be missed.
|
||
| public bool TryAllIssuerSigningKeys { get; set; } | ||
|
|
||
| /// <summary> | ||
|
|
@@ -642,6 +644,7 @@ internal set | |
| /// Gets or sets a boolean that controls if the actor claim should be validated. | ||
| /// </summary> | ||
| /// <remarks>Default value is false.</remarks> | ||
| [DefaultValue(false)] | ||
| public bool ValidateActor { get; set; } | ||
| } | ||
| } | ||
|
|
||
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.