Module actix_web_grants::permissions[][src]

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

AuthDetails

Traits

AttachPermissions

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

PermissionsCheck
PermissionsExtractor
RolesCheck