From 52da7cd63cdfd3ef8c002496ad43eae1d809d8a7 Mon Sep 17 00:00:00 2001 From: Kelly Song Date: Mon, 3 Jun 2024 18:09:51 -0700 Subject: [PATCH] Forgot to push - update internal method --- .../AadTokenValidationParametersExtension.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.IdentityModel.Validators/AadTokenValidationParametersExtension.cs b/src/Microsoft.IdentityModel.Validators/AadTokenValidationParametersExtension.cs index 5bc5d56361..04e055fcec 100644 --- a/src/Microsoft.IdentityModel.Validators/AadTokenValidationParametersExtension.cs +++ b/src/Microsoft.IdentityModel.Validators/AadTokenValidationParametersExtension.cs @@ -97,7 +97,7 @@ internal static bool ValidateIssuerSigningKey(SecurityKey securityKey, SecurityT return true; } - private static string CreateIssuer(string issuer, string tenantIdTemplate, string tenantId, int templateStartIndex) + internal static string CreateIssuer(string issuer, string tenantIdTemplate, string tenantId, int templateStartIndex) { #if NET6_0_OR_GREATER return string.Concat(issuer.AsSpan(0, templateStartIndex), tenantId, issuer.AsSpan(templateStartIndex + tenantIdTemplate.Length, issuer.Length - tenantIdTemplate.Length - templateStartIndex));