This commit is contained in:
2025-02-10 17:08:50 +01:00
parent 4827e6ae57
commit e5ffbac3ea
9 changed files with 102 additions and 9 deletions

9
src/authentication.js Normal file
View File

@@ -0,0 +1,9 @@
const sharedSecret = process.env.SHARED_SECRET;
const authentication = {
checkSharedSecret: (providedSecret) => {
return sharedSecret === providedSecret;
}
};
module.exports = authentication;