Crypto
An implementation of cryptographic features such as data encoding, RSA key generation, and authentication tokens.
Available:
Methods:
this.cryptoProvider.generateKeys();const id = uuid();
const data = this.cryptoProvider.generateRefreshToken(id);const id = uuid();
const data = this.cryptoProvider.generateJwtToken(
{ email: 'emai@mail.com' },
{ subject: id },
);Last updated