1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-06 02:23:14 +00:00
Files
jslib/src/models/response/twoFactorDuoResponse.ts
2019-03-01 00:13:37 -05:00

17 lines
515 B
TypeScript

import { BaseResponse } from './baseResponse';
export class TwoFactorDuoResponse extends BaseResponse {
enabled: boolean;
host: string;
secretKey: string;
integrationKey: 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');
}
}