20 lines
517 B
C#
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; }
|
|
}
|