Asys.Web.Authorization
0.2.0-preview.2
See the version list below for details.
dotnet add package Asys.Web.Authorization --version 0.2.0-preview.2
NuGet\Install-Package Asys.Web.Authorization -Version 0.2.0-preview.2
<PackageReference Include="Asys.Web.Authorization" Version="0.2.0-preview.2" />
<PackageVersion Include="Asys.Web.Authorization" Version="0.2.0-preview.2" />
<PackageReference Include="Asys.Web.Authorization" />
paket add Asys.Web.Authorization --version 0.2.0-preview.2
#r "nuget: Asys.Web.Authorization, 0.2.0-preview.2"
#:package Asys.Web.Authorization@0.2.0-preview.2
#addin nuget:?package=Asys.Web.Authorization&version=0.2.0-preview.2&prerelease
#tool nuget:?package=Asys.Web.Authorization&version=0.2.0-preview.2&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 | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net9.0
- Asys.Web (>= 0.2.0-preview.2)
- Asys.Web.Processors (>= 0.2.0-preview.2)
- Microsoft.EntityFrameworkCore (>= 9.0.0)
- Microsoft.EntityFrameworkCore.Relational (>= 9.0.0)
- Microsoft.Extensions.Caching.Memory (>= 9.0.0)
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 | 293 | 8/8/2026 |
| 0.3.0-preview.2 | 84 | 8/8/2026 |
| 0.3.0-preview.1 | 84 | 8/8/2026 |
| 0.2.0-preview.2 | 83 | 8/6/2026 |
| 0.2.0-preview.1 | 81 | 8/6/2026 |