mirror of
https://github.com/bitwarden/browser
synced 2026-02-18 10:23:52 +00:00
15 lines
454 B
TypeScript
15 lines
454 B
TypeScript
import { BaseResponse } from "../../../models/response/base.response";
|
|
|
|
export class TwoFactorAuthenticatorResponse extends BaseResponse {
|
|
enabled: boolean;
|
|
key: string;
|
|
userVerificationToken: string;
|
|
|
|
constructor(response: any) {
|
|
super(response);
|
|
this.enabled = this.getResponseProperty("Enabled");
|
|
this.key = this.getResponseProperty("Key");
|
|
this.userVerificationToken = this.getResponseProperty("UserVerificationToken");
|
|
}
|
|
}
|