protected override void ConfigureServer(database::Raven.Database.Config.RavenConfiguration serverConfiguration) { serverConfiguration.AuthenticationMode = "oauth"; serverConfiguration.AnonymousUserAccessMode = database::Raven.Database.Server.AnonymousUserAccessMode.None; serverConfiguration.PostInit(); serverConfiguration.Catalog.Catalogs.Add(new AssemblyCatalog(typeof(AuthenticationUser).Assembly)); }