1
0
mirror of https://github.com/bitwarden/server synced 2025-12-19 01:33:20 +00:00

[EC-584] Removed ListResponseModel from OrganizationExportResponseModel (#2316)

* [EC-584] Removed ListResponseModel from OrganizationExportResponseModel properties

* [EC-584] Added backwards compatibility for client version 2022.9.0

* [EC-584] Added property 'ClientVersion' to ICurrentContext

* [EC-584] Added backwards compatibility for version 2022.10.0

* [EC-584] Change ICurrentContext.ClientVersion from string to Version

* [EC-584] Remove check for versions before 2022.9.0 because they do not use this endpoint
This commit is contained in:
Rui Tomé
2022-11-07 12:01:45 +00:00
committed by GitHub
parent 363dd6493a
commit 8a6f780d55
4 changed files with 41 additions and 8 deletions

View File

@@ -22,6 +22,7 @@ public interface ICurrentContext
bool MaybeBot { get; set; }
int? BotScore { get; set; }
string ClientId { get; set; }
Version ClientVersion { get; set; }
Task BuildAsync(HttpContext httpContext, GlobalSettings globalSettings);
Task BuildAsync(ClaimsPrincipal user, GlobalSettings globalSettings);