mirror of
https://github.com/bitwarden/jslib
synced 2026-01-06 02:23:14 +00:00
17 lines
515 B
TypeScript
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');
|
|
}
|
|
}
|