Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 17 days ago
JSON representation

Example of Gin + Casbin Authorization

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)