CustomerAuthorizationFilter NuGet Package

支持.netcore 2.1
appsettings.json 添加配置项
"AuthApi": {
"Url": "http://localhost:5001/api/DiyUser/hasPerm",
"AdminRole": "admin1",
"RequestParams":"perm"
}
使用
[PermissionFilter(HasPerms = "test",HasRoles ="admin")].




Got any CustomerAuthorizationFilter Question?





Info

Version: 1.0.2
Author(s): LognQi_Howard
Last Update: Friday, September 4, 2020
.NET Fiddle: Create the first Fiddle
Project Url: http://project_url_here_or_delete_this_line/
NuGet Url: https://www.nuget.org/packages/CustomerAuthorizationFilter


Install
Install-Package CustomerAuthorizationFilter
dotnet add package CustomerAuthorizationFilter
paket add CustomerAuthorizationFilter
CustomerAuthorizationFilter Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

1.8

avg-downloads-per-day

0

days-since-last-release

1722