HubAuthVerdict typedef
The upgrade auth verdict: allowed = the presented credential may
connect at all; isMaster = it is the hub password itself (enroll is
master-only on a protected hub). An open hub (no master secret)
allows everything.
Implementation
typedef HubAuthVerdict = ({bool allowed, bool isMaster});