Utils for authorization
npm install @smartsoft001/auth-shell-nestjsnpm i @smartsoft001/auth-shell-nestjs
| Method | Description |
| forRoot(options: { tokenConfig: TokenConfig }) | Configures the auth module with JWT, Passport, and TypeORM integration |
| Property | Description |
| tokenConfig.secretOrPrivateKey | JWT secret key for token signing |
| tokenConfig.expiredIn | Token expiration time |
| Endpoint | Description |
| POST /token | Creates authentication tokens supporting password, refresh token, Facebook, and Google grant types |
Run nx test auth-shell-nestjs to execute the unit tests via Jest.