auth_middleware

Function auth_middleware 

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

JWT authentication middleware