Exemplo n.º 1
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 loggedInUser, ILoginInfo loginInfo) => loginInfo.Is(loggedInUser);
Exemplo n.º 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);