BasicAuth.mandatoryAuth

Auth handler that will fail if a successfull auth was not performed. This handler is usefull for routes that want to hide information to the public.

class BasicAuth(string realm)
override
void
mandatoryAuth
(
HTTPServerRequest req
,
HTTPServerResponse res
)

Meta