bitwarden-estensione-browser/libs/common/src/auth/models/response/two-factor-email.response.ts

13 lines
335 B
TypeScript

import { BaseResponse } from "../../../models/response/base.response";
export class TwoFactorEmailResponse extends BaseResponse {
enabled: boolean;
email: string;
constructor(response: any) {
super(response);
this.enabled = this.getResponseProperty("Enabled");
this.email = this.getResponseProperty("Email");
}
}