getAccessController = (type) => {
  if (!accessControllers[type]) {
    throw new Error(`AccessController type '${type}' is not supported`)
  }
  return accessControllers[type]
}
Gets an access controller module specified by type.
@param {string} type A valid access controller type.
@return {AccessController} The access controller module.
@private