AuthorizationExtensions.IsLoggedIn method (1 of 2)
namespace: Serenity assembly: Serenity.Net.Core
Returns true if user is logged in (authenticated).
public static bool IsLoggedIn(this ClaimsPrincipal user)
See Also
- class AuthorizationExtensions
AuthorizationExtensions.IsLoggedIn method (2 of 2)
namespace: Serenity assembly: Serenity.Net.Core
Returns true if user is logged in (authenticated).
public static bool IsLoggedIn(this IUserAccessor userAccessor)
See Also
- interface IUserAccessor
- class AuthorizationExtensions