public static dynamic FindByToken(string token) { var db = new Users(); return db.Single(where: "Token = @0", args: token); }
public RegistrationSpecs() { this.Describes("User Registration"); _membership = new Users(); }
public AccountController(ITokenHandler tokenStore) : base(tokenStore) { _users = new Users(); }
public AuthenticationSpecs() { this.Describes("User Authentication"); _membership = new Users(); }
public AccountControllerTests() { this.Describes("Account Controller"); _users = new Users(); _controller = new AccountController(new FakeTokenStore()); }