Module actix_web_grants::permissions[][src]

Expand description

A set of traits and structures for custom integration.

Via PermissionsExtractor implementations, the library gets a user permissions from you. The default implementation of the PermissionsExtractor is provided via a function.

See GrantsMiddleware for more details.

If you already have middleware authorization

You can integrate it with this library using AttachPermissions

Structs

Traits

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