[][src]Crate actix_web_grants

A crate for validate user authorities in actix-web.

For built-in configure see: GrantsMiddleware.

To check user access to specific services, you can use: proc-macro and AuthorityGuard or manual.

The library can also be integrated with third-party solutions (like httpauth), see authorities module.

You can find more examples in the git repository.

Modules

authorities

A set of traits and structures for custom integration.

proc_macro

Procedural macros for checking user authorities or roles.

Structs

AuthorityGuard

Implementation of Guard trait for validate authorities

GrantsMiddleware

Built-in middleware for extracting user authority.