📝 Installed alacritty and codium

This commit is contained in:
z3rOR0ne 2023-08-12 04:16:49 -07:00
parent 077f356bc1
commit 423aa812e9
1488 changed files with 5573 additions and 0 deletions

View file

@ -0,0 +1,28 @@
import { db } from '../utils/db.js'
class Authenticator {
constructor() {
this.currentUser = null
}
async sendAuthEmail(answered) {
return await db.post('/user/sendemail/', answered)
}
async verifyAuthSession(hashedToken) {
return await db.get(`/user/verify/${hashedToken}`)
}
async getAccessToken(req) {
return await db.post('/user/getaccess', req, true)
}
async validateSession(hashedAccessToken) {
return await db.post('/user/validatesession', hashedAccessToken, true)
}
async authenticateLoginCredentials(credentials) {
return await db.post('/user/login', credentials)
}
async removeSession(hashedAccessToken) {
return await db.post('/user/removesession', hashedAccessToken, true)
}
}
const authenticator = new Authenticator()
export { authenticator, Authenticator }

View file

@ -0,0 +1,32 @@
import { db } from '../utils/db.js'
class Authenticator {
constructor() {
this.currentUser = null
}
async sendAuthEmail(answered) {
return await db.post('/user/sendemail/', answered)
}
async verifyAuthSession(hashedToken) {
return await db.get(`/user/verify/${hashedToken}`)
}
async getAccessToken(req) {
return await db.post('/user/getaccess', req, true)
}
async validateSession(hashedAccessToken) {
return await db.post('/user/validatesession', hashedAccessToken, true)
}
async authenticateLoginCredentials(credentials) {
return await db.post('/user/login', credentials)
}
async removeSession(hashedAccessToken) {
return await db.post('/user/removesession', hashedAccessToken, true)
}
}
const authenticator = new Authenticator()
export { authenticator, Authenticator }
const something =
() => {
console.log('wow :=>')
}

View file

@ -0,0 +1 @@
{"version":1,"resource":"file:///home/brian/Documents/Code/siimee/frontend/src/services/auth.service.js","entries":[{"id":"F4GA.js","timestamp":1691837519190},{"id":"1SRL.js","timestamp":1691837536083}]}