DynamicAuthorization.Mvc.Core by Mohsen Esmailpour

<PackageReference Include="DynamicAuthorization.Mvc.Core" Version="1.0.2" />

 SecureContentTagHelper<TDbContext, TUser, TRole, TKey>

public abstract class SecureContentTagHelper<TDbContext, TUser, TRole, TKey> : TagHelper where TDbContext : IdentityDbContext<TUser, TRole, TKey> where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TKey : IEquatable<TKey>
public string Action { get; set; }

public string Area { get; set; }

public string Controller { get; set; }

public ViewContext ViewContext { get; set; }

public SecureContentTagHelper(TDbContext dbContext, DynamicAuthorizationOptions authorizationOptions, IRoleAccessStore roleAccessStore)