mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
added feature flag, and services for tokenable when adding Authenticator two factor; (#10261)
This commit is contained in:
@@ -3,10 +3,12 @@ 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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user