1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-05 23:53:21 +00:00

hash check request before going to server.

This commit is contained in:
Kyle Spearrin
2017-05-18 20:17:12 -04:00
parent d76220e19a
commit ec6716b338
2 changed files with 60 additions and 1 deletions

View File

@@ -216,6 +216,19 @@ namespace Bit.Core.Services
}
}
public string LastSyncHash
{
get
{
return Settings.LastSyncHash;
}
set
{
Settings.LastSyncHash = value;
SaveSettings();
}
}
public class SettingsModel
{
public string ApiBaseUrl { get; set; } = "https://api.bitwarden.com";
@@ -229,6 +242,7 @@ namespace Bit.Core.Services
public DateTime? LastUserSyncDate { get; set; }
public string GroupDeltaToken { get; set; }
public string UserDeltaToken { get; set; }
public string LastSyncHash { get; set; }
}
}
}