feat(auth): implement user authentication system
This commit is contained in:
parent
4847ab793a
commit
25cea4fbe8
12051 changed files with 1462377 additions and 0 deletions
10
backend/node_modules/jws/lib/tostring.js
generated
vendored
Normal file
10
backend/node_modules/jws/lib/tostring.js
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/*global module*/
|
||||
var Buffer = require('buffer').Buffer;
|
||||
|
||||
module.exports = function toString(obj) {
|
||||
if (typeof obj === 'string')
|
||||
return obj;
|
||||
if (typeof obj === 'number' || Buffer.isBuffer(obj))
|
||||
return obj.toString();
|
||||
return JSON.stringify(obj);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue