From 6a962c6b905ac7edd93c52f7727d55cca35cd868 Mon Sep 17 00:00:00 2001 From: Ignacio Inglese Date: Tue, 18 Jun 2024 17:35:01 +0100 Subject: [PATCH] Added default value for new parameter. Updated documentation --- .../Validation/IssuerValidationResult.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Microsoft.IdentityModel.Tokens/Validation/IssuerValidationResult.cs b/src/Microsoft.IdentityModel.Tokens/Validation/IssuerValidationResult.cs index 5adc68b57e..292eacfab1 100644 --- a/src/Microsoft.IdentityModel.Tokens/Validation/IssuerValidationResult.cs +++ b/src/Microsoft.IdentityModel.Tokens/Validation/IssuerValidationResult.cs @@ -25,7 +25,8 @@ internal enum ValidationSource /// Creates an instance of /// /// is the issuer that was validated successfully. - public IssuerValidationResult(string issuer, ValidationSource source) + /// is the indicating how this issuer was validated. + public IssuerValidationResult(string issuer, ValidationSource source = ValidationSource.NotValidated) : base(ValidationFailureType.ValidationSucceeded) { Issuer = issuer; @@ -39,6 +40,7 @@ public IssuerValidationResult(string issuer, ValidationSource source) /// is the issuer that was intended to be validated. /// is the that occurred during validation. /// is the that occurred during validation. + /// is the indicating how this issuer was validated. public IssuerValidationResult(string issuer, ValidationFailureType validationFailure, ExceptionDetail exceptionDetail, ValidationSource source = ValidationSource.NotValidated) : base(validationFailure, exceptionDetail) {