FastAPI-User-Auth是一个基于Casbin简单而强大的FastAPI用户认证与授权库. 基于FastAPI-Amis-Admin并提供可自由拓展的可视化管理界面. 源码·在线演示·文档·文档打不开? FastAPI-User-Auth是一个基于FastAPI-Amis-Admin的应用插件,与FastAPI-Amis-Admin深度结合,为其提供用户认证与授权. 基于Casbin的RBAC权限管理,支持...
This crucial part is missing in the documentation. based on: #8 (comment) Here a stub that could help: You can access the authorized user's attributes with request.state.user A sample view that outputs the current user name: from fastapi...