@gibme/webserver
    Preparing search index...

    Function ProtectedRouter

    • Creates a mountable Router instance whose routes are all gated by an authentication provider. Behaves like the exported Router() factory (including optional route-parameter rewriting), with the addition of setAuthenticationProvider.

      Returns ProtectedRouter