Skip to main content

JWT_AUTH

Static JWT_AUTH 

Source
pub static JWT_AUTH: JwtAuthGuard
Expand description

Ready-to-use singleton for JwtAuthGuard. Import and call:

use arcly_http::guards::{Guard, JWT_AUTH};
JWT_AUTH.check(&ctx)?;