Adding your own Custom Authorize Attribute to Asp. Net Core 2.2 and above
The authorize attribute is used to authorize or control user access to application / controller / actions in Asp. Net Core. The built in [Authorize] attribute might not be suitable for all business cases...