using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HTEXMark { public sealed class UserSettings : ApplicationSettingsBase { private static UserSettings _defaultInstance = ((UserSettings)(Synchronized(new UserSettings()))); public static UserSettings Default { get { return _defaultInstance; } } [UserScopedSetting()] [DefaultSettingValue("")] public string access_token { get { return (string)this["access_token"]; } set { this["access_token"] = value; } } [UserScopedSetting()] [DefaultSettingValue("")] public string id_token { get { return (string)this["id_token"]; } set { this["id_token"] = value; } } [UserScopedSetting()] [DefaultSettingValue("")] public string x_auth_token { get { return (string)this["x_auth_token"]; } set { this["x_auth_token"] = value; } } [UserScopedSetting()] [DefaultSettingValue("false")] public bool is_login { get { return (bool)this["is_login"]; } set { this["is_login"] = value; } } } }