BaseAuth.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)
  2. AuthResult mandatoryAuth(HTTPServerRequest req)
    class BaseAuth
    abstract
    mandatoryAuth
    (
    HTTPServerRequest req
    )

Meta