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

[PM-5156] [PM-5216] Duo v2 removal (#9513)

* remove library and update package and webpack

* update 2fa flow and remove feature flag

* update request and response models

* fix merge conflicts
This commit is contained in:
Ike
2024-06-25 11:09:45 -07:00
committed by GitHub
parent c35bbc522c
commit 41e1d91558
15 changed files with 36 additions and 627 deletions

View File

@@ -1,7 +1,7 @@
import { SecretVerificationRequest } from "./secret-verification.request";
export class UpdateTwoFactorDuoRequest extends SecretVerificationRequest {
integrationKey: string;
secretKey: string;
clientId: string;
clientSecret: string;
host: string;
}

View File

@@ -3,14 +3,14 @@ import { BaseResponse } from "../../../models/response/base.response";
export class TwoFactorDuoResponse extends BaseResponse {
enabled: boolean;
host: string;
secretKey: string;
integrationKey: string;
clientSecret: string;
clientId: string;
constructor(response: any) {
super(response);
this.enabled = this.getResponseProperty("Enabled");
this.host = this.getResponseProperty("Host");
this.secretKey = this.getResponseProperty("SecretKey");
this.integrationKey = this.getResponseProperty("IntegrationKey");
this.clientSecret = this.getResponseProperty("ClientSecret");
this.clientId = this.getResponseProperty("ClientId");
}
}