PPAP integration

This commit is contained in:
2026-07-16 19:36:30 +03:00
parent ba64a0c95a
commit 4cd9f928ff
36 changed files with 6586 additions and 656 deletions
+6 -2
View File
@@ -27,6 +27,7 @@ using Esiur.Data;
using Esiur.Protocol;
using Esiur.Resource;
using Esiur.Security.Authority;
using Esiur.Security.Authority.Providers;
using Esiur.Security.Cryptography;
using Esiur.Security.Management;
using Esiur.Security.RateLimiting;
@@ -120,7 +121,10 @@ internal static class Program
var server = await warehouse.Put("sys/server", new EpServer
{
Port = port,
AllowedAuthenticationProviders = new[] { "hash" },
AllowedAuthenticationProviders = new[]
{
PasswordAuthenticationProvider.ProtocolName,
},
AllowedEncryptionProviders = new[] { AesEncryptionProvider.Name },
RequireEncryption = true,
});
@@ -185,7 +189,7 @@ internal static class Program
AuthenticationMode = AuthenticationMode.InitializerIdentity,
AutoReconnect = false,
Identity = "tester",
AuthenticationProtocol = "hash",
AuthenticationProtocol = PasswordAuthenticationProvider.ProtocolName,
Domain = "test",
EncryptionMode = EncryptionMode.EncryptWithSessionKey,
EncryptionProviders = new[] { AesEncryptionProvider.Name },