Module actix_web_grants::authorities
source · Expand description
A set of traits and structures for custom integration.
Via AuthoritiesExtractor
implementations, the library gets a user permissions from you.
The default implementation of the AuthoritiesExtractor
is provided via a function.
See GrantsMiddleware
for more details.
If you already have middleware authorization
You can integrate it with this library using AttachAuthorities
Structs
Traits
- Allows you to transfer authorities to
actix-web-grants
from your custom middleware.