Attribute Macro parker_codegen::auth
source · #[auth]
Expand description
Wraps a route function in a guard that only calls the function body if the user has sufficient roles. This proc macro must come before the route proc macro!
#[auth]
Wraps a route function in a guard that only calls the function body if the user has sufficient roles. This proc macro must come before the route proc macro!