Skip to content

Commit aabf2e9

Browse files
committed
fix differences between ValidationParameters and TokenValidationParameters AzureAD#3131
1 parent c083762 commit aabf2e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Microsoft.IdentityModel.Tokens/Validation/ValidationParameters.cs

+3
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ protected ValidationParameters(ValidationParameters other)
9393
_signatureValidator = other.SignatureValidator;
9494
TimeProvider = other.TimeProvider;
9595
TryAllDecryptionKeys = other.TryAllDecryptionKeys;
96+
TryAllIssuerSigningKeys = other.TryAllIssuerSigningKeys;
9697
TokenDecryptionKeyResolver = other.TokenDecryptionKeyResolver;
9798
_tokenDecryptionKeys = other.TokenDecryptionKeys;
9899
TokenReplayCache = other.TokenReplayCache;
@@ -530,6 +531,7 @@ public TokenReplayValidationDelegate TokenReplayValidator
530531
/// all available keys will be tried.
531532
/// </summary>
532533
/// <remarks>Default is false.</remarks>
534+
[DefaultValue(true)]
533535
public bool TryAllIssuerSigningKeys { get; set; }
534536

535537
/// <summary>
@@ -642,6 +644,7 @@ internal set
642644
/// Gets or sets a boolean that controls if the actor claim should be validated.
643645
/// </summary>
644646
/// <remarks>Default value is false.</remarks>
647+
[DefaultValue(false)]
645648
public bool ValidateActor { get; set; }
646649
}
647650
}

0 commit comments

Comments
 (0)