feat(batch6-task3): implement F2 jetstream leaf tls helpers
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
using System.Net.Security;
|
||||
using System.Security.Authentication;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using ZB.MOM.NatsNet.Server.Auth;
|
||||
|
||||
namespace ZB.MOM.NatsNet.Server;
|
||||
|
||||
@@ -172,6 +173,7 @@ public class ClusterOpts
|
||||
public int PoolSize { get; set; }
|
||||
public List<string> PinnedAccounts { get; set; } = [];
|
||||
public CompressionOpts Compression { get; set; } = new();
|
||||
public RoutePermissions? Permissions { get; set; }
|
||||
public TimeSpan PingInterval { get; set; }
|
||||
public int MaxPingsOut { get; set; }
|
||||
public TimeSpan WriteDeadline { get; set; }
|
||||
@@ -232,6 +234,7 @@ public class LeafNodeOpts
|
||||
public bool ProxyRequired { get; set; }
|
||||
public string Nkey { get; set; } = string.Empty;
|
||||
public string Account { get; set; } = string.Empty;
|
||||
public List<User>? Users { get; set; }
|
||||
public double AuthTimeout { get; set; }
|
||||
public SslServerAuthenticationOptions? TlsConfig { get; set; }
|
||||
public double TlsTimeout { get; set; }
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user