1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-23 11:43:51 +00:00
Files
jslib/src/models/response/twoFactorAuthenticatorResponse.ts
2019-03-01 00:13:37 -05:00

13 lines
333 B
TypeScript

import { BaseResponse } from './baseResponse';
export class TwoFactorAuthenticatorResponse extends BaseResponse {
enabled: boolean;
key: string;
constructor(response: any) {
super(response);
this.enabled = this.getResponseProperty('Enabled');
this.key = this.getResponseProperty('Key');
}
}