I am trying to implement media security handler. in HttpContext not getting the authenticated value it always showing false.
Hi
I am trying to implement media security handler. in HttpContext not getting the authenticated value it always showing false.
below is what i am trying
public async Task InvokeAsync(HttpContext context, RequestDelegate next)
{
if (context.User.Identities.Any(IdentityExtensions => IdentityExtensions.IsAuthenticated))
{ do something
}
}
I am trying to implement media security handler. in HttpContext not getting the authenticated value it always showing false.
Hi I am trying to implement media security handler. in HttpContext not getting the authenticated value it always showing false. below is what i am trying
You can inject the
IMemberManager memberManager
service and then checkmemberManager.IsLoggedIn()
is working on a reply...