private void CheckToken(string token) { Response rsp = Util.Get ("auth.checkToken", new UpcomingParam ("token", token)); this.token = rsp.Token; }
public void CreateToken(string frob) { Response rsp = Util.Get ("auth.getToken", new UpcomingParam ("frob", frob)); token = rsp.Token; }