1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

use TwoFactorProviderType enum for remember me

This commit is contained in:
Kyle Spearrin
2018-04-19 14:07:11 -04:00
parent 23917010a7
commit fae4530564
2 changed files with 6 additions and 7 deletions

View File

@@ -1,14 +1,16 @@
import { TwoFactorProviderType } from '../../enums/twoFactorProviderType';
import { DeviceRequest } from './deviceRequest';
export class TokenRequest {
email: string;
masterPasswordHash: string;
token: string;
provider: number;
provider: TwoFactorProviderType;
remember: boolean;
device?: DeviceRequest;
constructor(email: string, masterPasswordHash: string, provider: number,
constructor(email: string, masterPasswordHash: string, provider: TwoFactorProviderType,
token: string, remember: boolean, device?: DeviceRequest) {
this.email = email;
this.masterPasswordHash = masterPasswordHash;