pub async fn auth_middleware(
__arg0: State<Arc<AuthService>>,
request: Request,
next: Next,
) -> Result<Response, (StatusCode, String)>Expand description
JWT authentication middleware
pub async fn auth_middleware(
__arg0: State<Arc<AuthService>>,
request: Request,
next: Next,
) -> Result<Response, (StatusCode, String)>JWT authentication middleware