mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-03 18:28:13 +01:00
[PM-11334] Add managed status to sync data (#11150)
This commit is contained in:
parent
d2e5af7fb5
commit
430741a7e6
@ -21,6 +21,7 @@ export class ProfileResponse extends BaseResponse {
|
|||||||
securityStamp: string;
|
securityStamp: string;
|
||||||
forcePasswordReset: boolean;
|
forcePasswordReset: boolean;
|
||||||
usesKeyConnector: boolean;
|
usesKeyConnector: boolean;
|
||||||
|
managedByOrganizationId?: string | null;
|
||||||
organizations: ProfileOrganizationResponse[] = [];
|
organizations: ProfileOrganizationResponse[] = [];
|
||||||
providers: ProfileProviderResponse[] = [];
|
providers: ProfileProviderResponse[] = [];
|
||||||
providerOrganizations: ProfileProviderOrganizationResponse[] = [];
|
providerOrganizations: ProfileProviderOrganizationResponse[] = [];
|
||||||
@ -42,6 +43,7 @@ export class ProfileResponse extends BaseResponse {
|
|||||||
this.securityStamp = this.getResponseProperty("SecurityStamp");
|
this.securityStamp = this.getResponseProperty("SecurityStamp");
|
||||||
this.forcePasswordReset = this.getResponseProperty("ForcePasswordReset") ?? false;
|
this.forcePasswordReset = this.getResponseProperty("ForcePasswordReset") ?? false;
|
||||||
this.usesKeyConnector = this.getResponseProperty("UsesKeyConnector") ?? false;
|
this.usesKeyConnector = this.getResponseProperty("UsesKeyConnector") ?? false;
|
||||||
|
this.managedByOrganizationId = this.getResponseProperty("ManagedByOrganizationId");
|
||||||
|
|
||||||
const organizations = this.getResponseProperty("Organizations");
|
const organizations = this.getResponseProperty("Organizations");
|
||||||
if (organizations != null) {
|
if (organizations != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user