DynamicAuthorization.Mvc.Core by Mohsen Esmailpour

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

 DynamicAuthorizationFilter<TDbContext, TUser, TRole, TKey>

public class DynamicAuthorizationFilter<TDbContext, TUser, TRole, TKey> : DynamicAuthorizationFilter<TDbContext, TUser, TRole, TKey, IdentityUserClaim<TKey>, IdentityUserRole<TKey>, IdentityUserLogin<TKey>, IdentityRoleClaim<TKey>, IdentityUserToken<TKey>> where TDbContext : IdentityDbContext<TUser, TRole, TKey> where TUser : IdentityUser<TKey> where TRole : IdentityRole<TKey> where TKey : IEquatable<TKey>
public DynamicAuthorizationFilter(DynamicAuthorizationOptions authorizationOptions, TDbContext dbContext, IRoleAccessStore roleAccessStore)