add more mysql stuff

This commit is contained in:
2023-07-12 09:06:29 +02:00
parent 865141d945
commit fbedf9e95e
13 changed files with 105 additions and 65 deletions

View File

@@ -0,0 +1,28 @@
/*
* libreevent - 2fa.js
*
* Created by Janis Hutz 07/11/2023, Licensed under the GPL V3 License
* https://janishutz.com, development@janishutz.com
*
*
*/
const token = require( '../token.js' );
class TwoFA {
constructor () {
this.tokenStore = {};
}
registerStandardAuthentication () {
let token = token.generateToken();
this.tokenStore[ token ] = 'standard';
}
registerEnhancedAuthentication () {
let token = token.generateToken();
}
}
module.exports = TwoFA;