DynamicAuthorization.Mvc.Core by Mohsen Esmailpour

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

 DynamicAuthorizationFilter<TDbContext>

public class DynamicAuthorizationFilter<TDbContext> : DynamicAuthorizationFilter<TDbContext, IdentityUser, IdentityRole, string> where TDbContext : IdentityDbContext
using DynamicAuthorization.Mvc.Core.Models; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; namespace DynamicAuthorization.Mvc.Core { public class DynamicAuthorizationFilter<TDbContext> : DynamicAuthorizationFilter<TDbContext, IdentityUser, IdentityRole, string> where TDbContext : IdentityDbContext { public DynamicAuthorizationFilter(DynamicAuthorizationOptions authorizationOptions, TDbContext dbContext, IRoleAccessStore roleAccessStore) : base(authorizationOptions, dbContext, roleAccessStore) { } } }