mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 22:59:28 +00:00
54 lines
421 B
JavaScript
54 lines
421 B
JavaScript
'use strict';
|
|
|
|
class User {
|
|
id;
|
|
firstName;
|
|
otherNames;
|
|
lastName;
|
|
email;
|
|
#password;
|
|
type = null;
|
|
|
|
constructor(type, userId) {
|
|
|
|
}
|
|
|
|
get fullName() {
|
|
|
|
}
|
|
|
|
verifyPassword(hash) {
|
|
|
|
}
|
|
|
|
changePassword(password) {
|
|
|
|
}
|
|
|
|
getPasswordReset() {
|
|
|
|
}
|
|
|
|
generatePasswordReset() {
|
|
|
|
}
|
|
|
|
login() {
|
|
|
|
}
|
|
|
|
static hashPassword(password) {
|
|
|
|
}
|
|
|
|
static createUser() {
|
|
|
|
}
|
|
|
|
static getUserByEmail() {
|
|
|
|
}
|
|
}
|
|
|
|
module.exports = User;
|