Exemplo n.º 1
0
 public void Add(string username, string password, AuthLevels authLevel)
 {
     Add(new User(username, password, authLevel));
 }
Exemplo n.º 2
0
 public virtual void Write(string username, string password, AuthLevels authLevel)
 {
     writer.WriteLine(string.Join(":", username, password, (int)authLevel));
 }
Exemplo n.º 3
0
 public User(string username, string password, AuthLevels authLevel)
 {
     Username  = username;
     Password  = password;
     AuthLevel = authLevel;
 }