AS400_API_DOTNET/Auth/DemoUser.cs
2025-10-17 16:01:56 +07:00

20 lines
517 B
C#

using System.Collections.Generic;
namespace AS400API.Auth;
public sealed class DemoUser
{
public DemoUser(string username, string passwordHash, string passwordSalt, IReadOnlyCollection<string> roles)
{
Username = username;
PasswordHash = passwordHash;
PasswordSalt = passwordSalt;
Roles = roles;
}
public string Username { get; }
public string PasswordHash { get; }
public string PasswordSalt { get; }
public IReadOnlyCollection<string> Roles { get; }
}