In this video tutorial we will continue working on creating the Admin Authentication Handler. We will be creating a Custom Authentication Scheme and use it in the Authorize attribute of the Protected View for Admin Area. We will work on Decryption of the JWT tokens using 2 layer decryption process.
----Video Number : 19
----BLOG
https://techhowdy.com/
Authorizing Access to Endpoints - The Authorize attribute is used to restrict access to an endpoint and can be applied to individual action or page handler methods or to controller or page model classes, in which case the policy applies to all the methods defined by the class.
--Documentation -
https://docs.microsoft.com/en-us/aspn...
https://jwt.io/
---NUGET PACKAGES
Microsoft.AspNetCore.Authentication
Microsoft.AspNetCore.Mvc.Abstractions
Microsoft.IdentityModel.Tokens
System.IdentityModel.Tokens.Jwt
======FOR SOURCE CODE USE ANY OF THE FOLLOWING REPO LINKS=====
**SOURCE CODE DEV OPS REPO**
https://dev.azure.com/Techhowdy/_git/...
**SOURCE CODE GITHUB LINK**
https://github.com/techhowdy/CMS_CORE_NG