net-token-verifier 0.3.0

This crate defines core traits and structures for fusion auth token verifications in the net-stalker project.
Documentation
1
2
3
4
5
6
7
8
use std::error::Error;

pub mod token;

#[async_trait::async_trait]
pub trait Verifier {
    async fn verify_token(&self, token: &str) -> Result<Box<dyn token::Token>, Box<dyn Error + Send + Sync>>;
}