actix_web_grants

Module permissions

source
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§