mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
[AC-1145] Add trusted devices option to encryption settings on sso config (#5383)
* [AC-1145] Add TDE feature flag * [AC-1145] Update sso-config to use new member decryption type and remove keyConnectorEnabled * [AC-1145] Add new TDE option to SSO config form and update to CL radio buttons * [AC-1145] Update checkboxes to CL checkboxes * [AC-1145] Fix messages.json warning * [AC-1145] Update to new form async actions * [AC-1145] Modify key connector option display logic to check for TDE feature flag * [AC-1145] Remove obsolete app-checkbox component * [AC-1145] Update TDE option description to refer to master password reset policy
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { BaseResponse } from "../../../models/response/base.response";
|
||||
import {
|
||||
MemberDecryptionType,
|
||||
OpenIdConnectRedirectBehavior,
|
||||
Saml2BindingType,
|
||||
Saml2NameIdFormat,
|
||||
@@ -11,8 +12,8 @@ import { SsoConfigView } from "../view/sso-config.view";
|
||||
export class SsoConfigApi extends BaseResponse {
|
||||
static fromView(view: SsoConfigView, api = new SsoConfigApi()) {
|
||||
api.configType = view.configType;
|
||||
api.memberDecryptionType = view.memberDecryptionType;
|
||||
|
||||
api.keyConnectorEnabled = view.keyConnectorEnabled;
|
||||
api.keyConnectorUrl = view.keyConnectorUrl;
|
||||
|
||||
if (api.configType === SsoType.OpenIdConnect) {
|
||||
@@ -52,8 +53,8 @@ export class SsoConfigApi extends BaseResponse {
|
||||
return api;
|
||||
}
|
||||
configType: SsoType;
|
||||
memberDecryptionType: MemberDecryptionType;
|
||||
|
||||
keyConnectorEnabled: boolean;
|
||||
keyConnectorUrl: string;
|
||||
|
||||
// OpenId
|
||||
@@ -95,8 +96,8 @@ export class SsoConfigApi extends BaseResponse {
|
||||
}
|
||||
|
||||
this.configType = this.getResponseProperty("ConfigType");
|
||||
this.memberDecryptionType = this.getResponseProperty("MemberDecryptionType");
|
||||
|
||||
this.keyConnectorEnabled = this.getResponseProperty("KeyConnectorEnabled");
|
||||
this.keyConnectorUrl = this.getResponseProperty("KeyConnectorUrl");
|
||||
|
||||
this.authority = this.getResponseProperty("Authority");
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { View } from "../../../models/view/view";
|
||||
import {
|
||||
MemberDecryptionType,
|
||||
OpenIdConnectRedirectBehavior,
|
||||
Saml2BindingType,
|
||||
Saml2NameIdFormat,
|
||||
@@ -14,7 +15,7 @@ export class SsoConfigView extends View {
|
||||
|
||||
configType: SsoType;
|
||||
|
||||
keyConnectorEnabled: boolean;
|
||||
memberDecryptionType: MemberDecryptionType;
|
||||
keyConnectorUrl: string;
|
||||
|
||||
openId: {
|
||||
@@ -66,8 +67,8 @@ export class SsoConfigView extends View {
|
||||
}
|
||||
|
||||
this.configType = orgSsoResponse.data.configType;
|
||||
this.memberDecryptionType = orgSsoResponse.data.memberDecryptionType;
|
||||
|
||||
this.keyConnectorEnabled = orgSsoResponse.data.keyConnectorEnabled;
|
||||
this.keyConnectorUrl = orgSsoResponse.data.keyConnectorUrl;
|
||||
|
||||
if (this.configType === SsoType.OpenIdConnect) {
|
||||
|
||||
Reference in New Issue
Block a user