I use JWT for authentication in my asp.net mvc 5 application. I can implement token generation and token validation but I want to find a way to use JWT validation in my razor pages, Something like @User.Identity.IsAuthenticate
when you use identity.
Can somebody point me in the right direction?