surveillance-client/managed-client/src/Surveillance.Client.Domain/DeviceCredentials.cs
2026-10-16 15:36:51 +02:00

10 lines
No EOL
385 B
C#

namespace Surveillance.Client.Domain;
public sealed class DeviceCredentials(string userName, string password)
{
public string UserName { get; } = userName ?? throw new ArgumentNullException(nameof(userName));
public string Password { get; } = password ?? throw new ArgumentNullException(nameof(password));
public override string ToString() => "[redacted credentials]";
}