1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

clean out old models/services

This commit is contained in:
Kyle Spearrin
2018-01-04 23:51:02 -05:00
parent 9be966017d
commit bbfe69eea0
74 changed files with 6 additions and 6166 deletions

View File

@@ -1,37 +0,0 @@
import { LoginData } from '../data/loginData';
import { CipherString } from './cipherString';
import Domain from './domain';
class Login extends Domain {
uri: CipherString;
username: CipherString;
password: CipherString;
totp: CipherString;
constructor(obj?: LoginData, alreadyEncrypted: boolean = false) {
super();
if (obj == null) {
return;
}
this.buildDomainModel(this, obj, {
uri: null,
username: null,
password: null,
totp: null,
}, alreadyEncrypted, []);
}
decrypt(orgId: string): Promise<any> {
return this.decryptObj({}, {
uri: null,
username: null,
password: null,
totp: null,
}, orgId);
}
}
export { Login };
(window as any).Login = Login;