mirror of
https://github.com/bitwarden/browser.git
synced 2025-04-16 20:27:03 +02:00
15 lines
422 B
TypeScript
15 lines
422 B
TypeScript
import { BaseResponse } from './baseResponse';
|
|
|
|
import { TwoFactorProviderType } from '../../enums/twoFactorProviderType';
|
|
|
|
export class TwoFactorProviderResponse extends BaseResponse {
|
|
enabled: boolean;
|
|
type: TwoFactorProviderType;
|
|
|
|
constructor(response: any) {
|
|
super(response);
|
|
this.enabled = this.getResponseProperty('Enabled');
|
|
this.type = this.getResponseProperty('Type');
|
|
}
|
|
}
|