Skip to content

Commit

Permalink
Fixing CA warnings due to spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmprieur committed Jun 2, 2020
1 parent 26c5c4b commit 655defb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Microsoft.Identity.Web/ClaimsPrincipalExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static string GetMsalAccountId(this ClaimsPrincipal claimsPrincipal)
{
throw new ArgumentNullException(nameof(claimsPrincipal));
}

string uniqueObjectIdentifier = claimsPrincipal.GetHomeObjectId();
string uniqueTenantIdentifier = claimsPrincipal.GetHomeTenantId();

Expand Down Expand Up @@ -154,7 +154,7 @@ public static string GetHomeObjectId(this ClaimsPrincipal claimsPrincipal)
{
throw new ArgumentNullException(nameof(claimsPrincipal));
}

return claimsPrincipal.FindFirstValue(ClaimConstants.UniqueObjectIdentifier);
}

Expand All @@ -169,7 +169,7 @@ public static string GetHomeTenantId(this ClaimsPrincipal claimsPrincipal)
{
throw new ArgumentNullException(nameof(claimsPrincipal));
}

return claimsPrincipal.FindFirstValue(ClaimConstants.UniqueTenantIdentifier);
}

Expand Down

0 comments on commit 655defb

Please sign in to comment.