0.0.1 • Published 2 years ago
nestjs-fastjwt v0.0.1
Description
This's a nestjs-fastjwt module for Nest. This document assumes that you have a working nodejs setup in place.
Installation
$ npm i --save nestjs-fastjwtUsage
Usage is pretty straightforward. Import FastJwtModule into the root AppModule and configure it using the forRoot() method. You can pass in a configuration object of type FastJwtModuleOptions to the forRoot() method.
This is supposed to be a drop in replacement for nestjs built-in jwt module. So you can use it the same way you use nestjs built-in jwt module.
Limitations:
- This module doesn't support time in string format yet. You have to use time in milli seconds for now.
0.0.1
2 years ago