From e72880866c8e02b6005b702b6f7176664fe99247 Mon Sep 17 00:00:00 2001 From: Jean-Marc Prieur Date: Wed, 10 Jun 2020 12:43:57 +0200 Subject: [PATCH] Fix the XML documentation for ClaimsPrincipalExtensions.GetNameIdentifierId Fixes the XML documentation for ClaimsPrincipalExtensions.GetNameIdentifierId therefore addressing https://github.com/AzureAD/microsoft-identity-web/issues/171 --- src/Microsoft.Identity.Web/ClaimsPrincipalExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.Identity.Web/ClaimsPrincipalExtensions.cs b/src/Microsoft.Identity.Web/ClaimsPrincipalExtensions.cs index 3ee77e4d8..5504dac74 100644 --- a/src/Microsoft.Identity.Web/ClaimsPrincipalExtensions.cs +++ b/src/Microsoft.Identity.Web/ClaimsPrincipalExtensions.cs @@ -176,8 +176,8 @@ public static string GetHomeTenantId(this ClaimsPrincipal claimsPrincipal) /// /// Gets the NameIdentifierId associated with the . /// - /// the from which to retrieve the sub claim. - /// Name identifier ID (sub) of the identity, or null if it cannot be found. + /// the from which to retrieve the uid claim. + /// Name identifier ID (uid) of the identity, or null if it cannot be found. public static string GetNameIdentifierId(this ClaimsPrincipal claimsPrincipal) { return claimsPrincipal.FindFirstValue(ClaimConstants.UniqueObjectIdentifier);