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.

  1. void mandatoryAuth(HTTPServerRequest req, HTTPServerResponse res)
    class BasicAuth(string realm)
    override
    void
    mandatoryAuth
    (
    HTTPServerRequest req
    ,
    HTTPServerResponse res
    )
  2. AuthResult mandatoryAuth(HTTPServerRequest req)

Meta