actix_web_security/authentication/scheme/bearer/jwt/token/mod.rs
1//! The token module provides a trait definition of `Claims`, `TokenDecoder` and a RSA token decoder implementation.
2
3use downcast_rs::impl_downcast;
4use downcast_rs::Downcast;
5
6pub mod decoder;
7
8/// Trait definition of claims to decode from a token.
9pub trait Claims: Downcast + Sync + Send {}
10impl_downcast!(Claims);