actix-web-security 0.1.2

Basic-Auth / OAuth2 easy-to-use authentication modules for actix web
Documentation
1
2
3
4
5
6
7
8
9
10
//! The token module provides a trait definition of `Claims`, `TokenDecoder` and a RSA token decoder implementation.

use downcast_rs::impl_downcast;
use downcast_rs::Downcast;

pub mod decoder;

/// Trait definition of claims to decode from a token.
pub trait Claims: Downcast + Sync + Send {}
impl_downcast!(Claims);