feat(security): cookie+JWT hybrid auth via AddOtOpcUaAuth
This commit is contained in:
11
src/Server/ZB.MOM.WW.OtOpcUa.Security/CookieOptions.cs
Normal file
11
src/Server/ZB.MOM.WW.OtOpcUa.Security/CookieOptions.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace ZB.MOM.WW.OtOpcUa.Security;
|
||||
|
||||
public sealed class OtOpcUaCookieOptions
|
||||
{
|
||||
public const string SectionName = "Security:Cookie";
|
||||
|
||||
public string Name { get; set; } = "OtOpcUa.Auth";
|
||||
|
||||
/// <summary>Idle sliding window, in minutes (default 30).</summary>
|
||||
public int ExpiryMinutes { get; set; } = 30;
|
||||
}
|
||||
Reference in New Issue
Block a user