mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 17:59:25 +00:00
Added initial class skeletons
This commit is contained in:
53
lib/User.js
Normal file
53
lib/User.js
Normal file
@@ -0,0 +1,53 @@
|
||||
'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;
|
||||
Reference in New Issue
Block a user