/// <summary>
 /// Determines whether the ID of this logged-in user is the same as a specified user.
 /// </summary>
 public static bool Is(this ClaimsPrincipal loggedInUser, ILoginInfo loginInfo) => loginInfo.Is(loggedInUser);
Beispiel #2
0
 /// <summary>
 /// Determines whether the ID of this logged-in user is the same as a specified user.
 /// </summary>
 public static bool Is(this ClaimsPrincipal @this, ILoginInfo loginInfo) => loginInfo.Is(@this);