code: function webapp(id, plugin, striderjson, context, done) {
    if (plugin.appConfig) {
      defExtend(plugin.appConfig, context.config.plugins[id] || {});
    }
    if (plugin.routes) {
      providerRoutes(id, plugin, context);
    }
    if (plugin.globalRoutes) {
      globalRoutes(id, plugin, context);
    }
    if (plugin.auth) {
      plugin.auth(context.passport, context);
    }
    plugin.hosted = striderjson.hosted;
    return done(null, plugin);
  }
docs: routes, globalRoutes