{"repo":"jchristn/Gatekeeper","free":true,"listed":false,"github":"https://github.com/jchristn/Gatekeeper","clone":"git clone https://github.com/jchristn/Gatekeeper.git","description":"Lightweight library in C# for implementing roles-based access control (RBAC). With Gatekeeper, you can define users, roles, resources, and permissions, and authorize requests.","language":"C#","stars":35,"topics":["authentication","authorization","roles-management","roles-permission-management","rbac","rbac-management","nuget","gatekeeper","api"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"GateKeeper A lightweight, easy-to-use roles-based access control (RBAC) library for .NET applications. Overview GateKeeper provides a simple yet powerful way to implement authorization in your .NET applications. Define users, roles, resources, and permissions, then authorize access attempts with a single method call. Features - Simple, intuitive API for managing users, roles, resources, and permissions - SQLite-based persistence (no external database required) - Event-driven authorization with detailed matching information - Automatic cleanup of related records when deleting entities - Input sanitization for security - Cross-platform support Supported Frameworks - .NET Standard 2.0 - .NET Standard 2.1 - .NET 8.0 - .NET 10.0 Installation Install via NuGet Package Manager: Or via the Package Manager Console: Quick Start Core Concepts Users Entities that attempt to access resources. Users are assigned to one or more roles. Roles Groups that define a set of permissions. Users inherit permissions from their assigned roles. Resources Protected entities that users attempt to access (e.g., files, APIs, features). Permissions Rules that grant or deny a specific operation on a resource to a role. Operations Actions that can be performed on resources (e.g., \"create\", \"read\", \"update\", \"delete\"). API Reference RbacServer The main entry point for the GateKeeper library. Manager APIs Each manager ( Users , Roles , Resources , Permissions , UserRoles ) provides: Method Description -------- ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jchristn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jchristn/Gatekeeper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}