pub async fn authorize_token( token: String, context: Arc<Mutex<ControlContext>> ) -> Result<(), Rejection>