public static void RegisterInitSettings() { Settings.InitSetting.Instance.InitHashTypes(AuthorizeService.FetchHashTypes()); Settings.InitSetting.Instance.InitMaxNumberOfBytesInSalt(255); Settings.InitSetting.Instance.InitCultureCookieName(ConfigurationManager.AppSettings["CultureCookieName"]); Settings.InitSetting.Instance.InitCookieLifeSpan(new TimeSpan(1, 0, 0)); Settings.InitSetting.Instance.InitAuthorizationTokenLifeSpanInSecond(int.Parse((ConfigurationManager.AppSettings["TokenExpiresAfter"]))); Settings.InitSetting.Instance.InitAuthCookieName(ConfigurationManager.AppSettings["AuthenticationCookieName"]); Settings.InitSetting.Instance.InitPaypalClientID(ConfigurationManager.AppSettings["PaypalClientID"]); Settings.InitSetting.Instance.InitPaypalTransferAmount(ConfigurationManager.AppSettings["PaypalTransferAmount"]); }