1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

added models, crypto, and constants services

This commit is contained in:
Kyle Spearrin
2018-01-08 14:11:28 -05:00
parent af9b95936f
commit 7c848edf3c
59 changed files with 2419 additions and 6 deletions

View File

@@ -0,0 +1,18 @@
class RegisterRequest {
name: string;
email: string;
masterPasswordHash: string;
masterPasswordHint: string;
key: string;
constructor(email: string, masterPasswordHash: string, masterPasswordHint: string, key: string) {
this.name = null;
this.email = email;
this.masterPasswordHash = masterPasswordHash;
this.masterPasswordHint = masterPasswordHint ? masterPasswordHint : null;
this.key = key;
}
}
export { RegisterRequest };
(window as any).RegisterRequest = RegisterRequest;