mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
17 lines
503 B
TypeScript
17 lines
503 B
TypeScript
import { BaseResponse } from "./base.response";
|
|
|
|
export class DeviceVerificationResponse extends BaseResponse {
|
|
isDeviceVerificationSectionEnabled: boolean;
|
|
unknownDeviceVerificationEnabled: boolean;
|
|
|
|
constructor(response: any) {
|
|
super(response);
|
|
this.isDeviceVerificationSectionEnabled = this.getResponseProperty(
|
|
"IsDeviceVerificationSectionEnabled"
|
|
);
|
|
this.unknownDeviceVerificationEnabled = this.getResponseProperty(
|
|
"UnknownDeviceVerificationEnabled"
|
|
);
|
|
}
|
|
}
|