Implementing a "captive portal" in Rust? Resource guidance

Hi guys,

I have been reading up on ways to implement a captive portal. I have become aware of coova, the repos itself seems to be way over my head.

I guess what I am trying to accomplish in plain English is to block internet connection until the user has authenticated using browser authentication.

For the time, I am mostly focused on hacking up something that at least works then take care of edge cases later. Any links, tutorials, pdfs, resources, you know would immensely help.