Basic Authentication in perl6 with Cro Languages

Basic Authentication in perl6 with Cro

I am looking for a simple solution to protect my routes with the Basic Authentication mechanism with Cro. In my example I'd like to see a 401 Unauthorized if you don't provide any credentials at all. If you provide wrong credentials I like to see a 403 Forbidden
Read More