actix-web-grants
A crate for validate user authorities in
actix-web.
To check user access to specific services, you can use built-in proc-macro, AuthorityGuard or manual.
The library can also be integrated with third-party solutions (like actix-web-httpauth).
Example of protection via actix_web_grants::proc-macro
async
Example of protection via trait Guard
new
.wrap
.service
You can find more examples in the git repository folder and documentation.