Ejemplo n.º 1
0
 public static void UpdateRefreshToken(Guid organizationId, string refreshToken)
 {
     if (!string.IsNullOrEmpty(refreshToken))
     {
         Setting setting = SettingProvider.GetSettingByShortName("RefreshToken");
         if (setting != null)
         {
             setting.Value = refreshToken;
             SettingProvider.UpdateSettingValue(setting, organizationId, null, null);
         }
     }
 }