[][src]Module actix_web_grants::authorities

A set of traits and structures for custom integration.

Via AuthoritiesExtractor implementations, the library gets a user authoritites 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

AuthDetails
FnAuthoritiesExtractor

Traits

AttachAuthorities

Allows you to transfer authorities to actix-web-grants from your custom middleware.

AuthoritiesCheck
AuthoritiesExtractor
RolesCheck