May 26, 2018
Authentication plugin for HTTP::Server::Simple
HTTPServerSimpleAuthen is an HTTPServerSimple plugin to allow HTTP authentication. Authentication scheme is pluggable and you can use whatever Authentication protocol that AuthenSimple supports.
You can use authenticate method whatever you want to authenticate the request. The method returns $username taken from the request if the authentication is successful, and undef otherwise. The code in “SYNOPSIS” requires authentication for all the requests and behaves just the same as Apache’s Require valid-user.