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

Fix ValidationParameters Inconsistencies #3173

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -530,6 +531,7 @@ public TokenReplayValidationDelegate TokenReplayValidator
/// all available keys will be tried.
/// </summary>
/// <remarks>Default is false.</remarks>
[DefaultValue(true)]
Copy link
Contributor

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.

Copy link
Author

Choose a reason for hiding this comment

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

Done

public bool TryAllIssuerSigningKeys { get; set; }

/// <summary>
Expand Down Expand Up @@ -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; }
}
}
Expand Down