1
0
mirror of https://github.com/bitwarden/directory-connector synced 2026-01-10 12:33:35 +00:00
Files
directory-connector/jslib/common/src/models/response/twoFactorEmailResponse.ts
2022-04-28 16:41:07 +02:00

13 lines
311 B
TypeScript

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