1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

[SM-396] Self-enroll Secrets Manager (#4666)

This commit is contained in:
Oscar Hinton
2023-02-21 18:24:55 +01:00
committed by GitHub
parent 581f69256d
commit 3305c808d1
10 changed files with 105 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
export class OrganizationEnrollSecretsManagerRequest {
enabled: boolean;
}

View File

@@ -26,6 +26,7 @@ export class OrganizationResponse extends BaseResponse {
use2fa: boolean;
useApi: boolean;
useResetPassword: boolean;
useSecretsManager: boolean;
hasPublicAndPrivateKeys: boolean;
constructor(response: any) {
@@ -53,6 +54,7 @@ export class OrganizationResponse extends BaseResponse {
this.use2fa = this.getResponseProperty("Use2fa");
this.useApi = this.getResponseProperty("UseApi");
this.useResetPassword = this.getResponseProperty("UseResetPassword");
this.useSecretsManager = this.getResponseProperty("UseSecretsManager");
this.hasPublicAndPrivateKeys = this.getResponseProperty("HasPublicAndPrivateKeys");
}
}