Casbin

Casbin

  • 文档
  • API
  • 编辑器
  • JetBrains 插件
  • Casdoor
  • 论坛
  • OA
  • 趋势
  • 云服务
  • 帮助
  • 博客
  • Languages icon中文
    • English
    • 한국어
    • 参与翻译
  • GitHub

›扩充功能

基础知识

  • 概述
  • 开始使用
  • 工作原理
  • 教程

Model

  • 支持的Models
  • Model语法
  • 函数
  • 基于角色的访问控制
  • 域内RBAC
  • ABAC

存储

  • Model存储
  • Policy存储
  • 政策子集加载

扩充功能

  • 适配器
  • 观察者
  • 调度器
  • 角色管理器
  • 中间件

API

  • 管理 API
  • RBAC API

高级用法。

  • 多线程
  • 基准测试
  • Performance Optimization

管理

  • 管理员门户
  • Casbin 服务
  • 日志 & 错误处理
  • 在线编辑器
  • Frontend Usage

更多

  • 本项目使用者
  • 隐私政策
  • 服务条款
Translate

中间件

Web框架

Go
Java
Node.js
PHP
Python
.NET
Rust
名称描述
GinA HTTP web framework featuring a Martini-like API with much better performance, via plugin: authz or gin-casbin (thanks to @maxwellhertz)
BeegoAn open-source, high-performance web framework for Go, via built-in plugin: plugins/authz
CaddyFast, cross-platform HTTP/2 web server with automatic HTTPS, via plugin: caddy-authz
Go kitA toolkit for microservices, via built-in plugin: plugins/authz
FiberAn Express inspired web framework written in Go, via middleware: fiber-casbin or fiber-casbinrest
RevelA high productivity, full-stack web framework for the Go language, via plugin: auth/casbin
EchoHigh performance, minimalist Go web framework, via plugin: echo-authz (thanks to @xqbumu) or casbinrest (thanks to @prongbang)
IrisThe fastest web framework for Go in (THIS) Earth. HTTP/2 Ready-To-GO, via plugin: casbin (thanks to @hiveminded) or iris-middleware-casbin
NegroniIdiomatic HTTP Middleware for Golang, via plugin: negroni-authz
ChiA lightweight, idiomatic and composable router for building HTTP services, via plugin: chi-authz
BuffaloA Go web development eco-system, designed to make your life easier, via plugin: buffalo-mw-rbac (thanks to @kgosse)
gqlgenGo library for building GraphQL servers without any fuss, via plugin: gqlgen_casbin_RBAC_example
MacaronA high productive and modular web framework in Go, via plugin: authz
DotWebSimple and easy go web micro framework, via plugin: authz
TangoMicro & pluggable web framework for Go, via plugin: authz
BaaAn express Go web framework with routing, middleware, dependency injection and http context, via plugin: authz
NameDescription
Spring BootMakes it easy to create Spring-powered applications and services, via plugin: casbin-spring-boot-starter or jcasbin-springboot-plugin or Spring's Method Security RBAC Demo
Apache ShiroA powerful and easy-to-use Java security framework that performs authentication, authorization, cryptography, and session management, via plugin: shiro-casbin or shiro-jcasbin-spring-boot-starter
Vert.xA tool-kit for building reactive applications on the JVM, via plugin: vertx-auth-jcasbin
JFinalA simple, light, rapid, independent and extensible Java WEB + ORM framework, via plugin: jcasbin-jfinal-plugin
NutzWeb framework (MVC/IOC/AOP/DAO/JSON) for all Java developers, via plugin: jcasbin-nutz-plugin
mangoo I/OAn intuitive, lightweight, high performance full stack Java web framework, via built-in plugin: AuthorizationService.java
NameDescription
ExpressFast, unopinionated, minimalist web framework for node, via plugin: express-authz
KoaExpressive middleware for node.js using ES2017 async functions, via plugin: koa-authz or koajs-starter or koa-casbin
LoopBack 4A highly extensible Node.js and TypeScript framework for building APIs and microservices, via plugin: loopback4-authorization
NestProgressive Node.js framework for building efficient and scalable server-side applications on top of TypeScript & JavaScript. via plugin: nest-authz or nest-casbin or NestJS Casbin Module or nestjs-casbin
FastifyFast and low overhead web framework, for Node.js. via plugin: fastify-casbin or fastify-casbin-rest
EggBorn to build better enterprise frameworks and apps with Node.js & Koa, via plugin: egg-authz or egg-zrole
hapiThe Simple, Secure Framework Developers Trust. via plugin: hapi-authz
Casbin JWT ExpressAuthorization middleware that uses stateless JWT token to validate ACL rules using Casbin
NameDescription
LaravelThe PHP framework for web artisans, via plugin: laravel-casbin
LaravelAn authorization library for the laravel framework, via plugin: Laravel Authorization
Yii PHP FrameworkA fast, secure, and efficient PHP framework, via plugin: yii-casbin
CakePHPBuild fast, grow solid PHP Framework, via plugin: cake-casbin
CodeIgniter4Associate users with roles and permissions in CodeIgniter4 Web Framework, via plugin: CodeIgniter Permission
ThinkPHP 5.1The ThinkPHP 5.1 framework, via plugin: think-casbin
ThinkPHP 6.0The ThinkPHP 6.0 framework, via plugin: think-authz
SymfonyThe Symfony PHP framework, via plugin: symfony-casbin
HyperfA coroutine framework that focuses on hyperspeed and flexibility, via plugin: hyperf-casbin
NameDescription
DjangoA high-level Python Web framework, via plugin: django-casbin
FlaskA microframework for Python based on Werkzeug, Jinja 2 and good intentions, via plugin: flask-casbin or Flask-Casbin (3rd-party, but maybe more friendly) or flask-casbin
NameDescription
ASP.NET CoreAn open-source and cross-platform framework for building modern cloud based internet connected applications, such as web apps, IoT apps and mobile backends, via plugin: Casbin.AspNetCore
ASP.NET CoreA simple demo of using Casbin at ASP.NET Core framework, via plugin: CasbinACL-aspNetCore
NameDescription
ActixA Rust actors framework, via plugin: actix-casbin
Actix webA small, pragmatic, and extremely fast rust web framework, via plugin: actix-casbin-auth
Rocketa web framework for Rust that makes it simple to write fast, secure web applications without sacrificing flexibility, usability, or type safety, template: rocket-casbin-demo
← 角色管理器管理 API →
Casbin
Docs
Getting StartedManagement APIRBAC APIMiddlewares
Community
Who's using Casbin?ForumStack OverflowProject Chat
Casbin          jCasbin
Node-Casbin   PHP-CasbinPyCasbin          Casbin.NETCasbin-CPP        Casbin-RS
Follow @CasbinNews
Copyright © 2021 Casbin contributors.