https://github.com/casbin/gin-casbin-example
Example of Gin + Casbin Authorization
https://github.com/casbin/gin-casbin-example
abac acl auth authorization authz casbin gin gin-framework gin-gonic go rbac
Last synced: 7 months ago
JSON representation
Example of Gin + Casbin Authorization
- Host: GitHub
- URL: https://github.com/casbin/gin-casbin-example
- Owner: casbin
- License: apache-2.0
- Created: 2022-10-17T13:42:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T07:37:34.000Z (almost 3 years ago)
- Last Synced: 2025-08-06T08:53:06.943Z (7 months ago)
- Topics: abac, acl, auth, authorization, authz, casbin, gin, gin-framework, gin-gonic, go, rbac
- Language: Go
- Homepage: https://github.com/gin-contrib/authz
- Size: 12.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gin-casbin-example
[gin-casbin-example](https://github.com/casbin/gin-casbin-example) is intended to show how to use [Casbin](https://github.com/casbin/casbin) in [Gin](https://github.com/gin-gonic/gin).
##### To run the test
```bash
go test -v
```
##### Links
- [Authz](https://github.com/gin-contrib/authz)
- [The 'Basic' HTTP Authentication Scheme](https://datatracker.ietf.org/doc/html/rfc7617)