Exemplo n.º 1
0
 //
 // PRIVATE and INTERNAL
 //
 internal static Passport createPassport(User user)
 {
     return new Passport(user, createRandomString(64));
 }
 public void addUser(User user)
 {
     userList.getUsers().Add(user);
     // save for good measure, though this probably makes the save timer moot
     save();
 }
Exemplo n.º 3
0
 private Passport(User user, string token)
 {
     this.user = user;
     this.token = token;
 }