Pinned Loading
-
migrate.js
migrate.js 1const sequelize = new Sequelize(config);
2const umzug = new Umzug({
3storage: "sequelize",
45storageOptions: {
-
Stronger Encryption and Decryption i...
Stronger Encryption and Decryption in typescript 1import crypto from 'crypto';
23const ALGORITHM = 'aes-256-cbc';
4const ENCODING = 'hex';
5const IV_LENGTH = 16;
-
Example of refreshing tokens with jwt
Example of refreshing tokens with jwt 1/**
2* Example to refresh tokens using https://github.com/auth0/node-jsonwebtoken
3* It was requested to be introduced at as part of the jsonwebtoken library,
4* since we feel it does not add too much value but it will add code to mantain
5* we won't include it.
-
JsonWebToken usage 'generate', 'veri...
JsonWebToken usage 'generate', 'verify' and 'refresh' token 1import jwt from 'jsonwebtoken';
23interface payload {
4data: object;
5}
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.