private TimeDoctorData() { this.Auth = new TimeDoctorAuth(); this.Auth.load(); this.Profile = new TimeDoctorProfile(); this.Profile.load(); }
public void set(TimeDoctorAuth auth) { this.expires_in = auth.expires_in; this.access_token = auth.access_token; this.refresh_token = auth.refresh_token; this.token_type = auth.token_type; this.save(); }