Asys.Web.Authorization
0.3.0-preview.3
dotnet add package Asys.Web.Authorization --version 0.3.0-preview.3
NuGet\Install-Package Asys.Web.Authorization -Version 0.3.0-preview.3
<PackageReference Include="Asys.Web.Authorization" Version="0.3.0-preview.3" />
<PackageVersion Include="Asys.Web.Authorization" Version="0.3.0-preview.3" />
<PackageReference Include="Asys.Web.Authorization" />
paket add Asys.Web.Authorization --version 0.3.0-preview.3
#r "nuget: Asys.Web.Authorization, 0.3.0-preview.3"
#:package Asys.Web.Authorization@0.3.0-preview.3
#addin nuget:?package=Asys.Web.Authorization&version=0.3.0-preview.3&prerelease
#tool nuget:?package=Asys.Web.Authorization&version=0.3.0-preview.3&prerelease
Asys.Web.Authorization
Asys.Web üstüne dinamik endpoint izin sistemi. Startup'ta tüm endpointleri tarar, DB'ye kaydeder
ve global bir preprocessor ile her isteği izin motorundan geçirir. Rol + kullanıcı bazlı grant/deny;
IMemoryCache üstünde hızlı karar. Identity paketine zorunlu değildir — sadece JWT'de sub + role
claim'leri yeterli.
dotnet add package Asys.Web.Authorization
protected override void OnModelCreating(ModelBuilder b)
{
base.OnModelCreating(b);
b.AddAsysAuthorization();
}
builder.Services.AddAsysEndpoints(assembly);
builder.Services.AddAsysAuthorization<AppDbContext>(o =>
{
o.UnknownEndpointPolicy = UnknownEndpointPolicy.Deny;
}, assembly);
app.MapAsysAuthorizationEndpoints<AppDbContext>(); // /admin/authz/*
app.MapAsysEndpoints(assembly);
Karar tablosu, admin API, cache invalidation, custom IUserResolver:
docs/authorization.md
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Asys.Web (>= 0.3.0-preview.3)
- Asys.Web.Processors (>= 0.3.0-preview.3)
- Microsoft.EntityFrameworkCore (>= 10.0.10)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.10)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Asys.Web.Authorization:
| Package | Downloads |
|---|---|
|
Asys.Web.Authorization.UI
Frontend permission dataset for Asys.Web.Authorization. Dynamic page + element permission catalog with /me/permissions endpoint (page-scoped or full), plus admin CRUD. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.3.0-preview.3 | 209 | 8/8/2026 |
| 0.3.0-preview.2 | 72 | 8/8/2026 |
| 0.3.0-preview.1 | 72 | 8/8/2026 |
| 0.2.0-preview.2 | 70 | 8/6/2026 |
| 0.2.0-preview.1 | 66 | 8/6/2026 |