1.0.8 • Published 4 years ago

nestjs-redtail-authentication v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Installation

npm install nestjs-redtail-authentication

Import into your app.module.ts and register

imports: [
  ...
  RedtailAuthenticationModule.register({
    REDTAIL_BASE_URL: process.env.REDTAIL_BASE_URL || 'https://redtailapiurl.com/api/v1',
    REDTAIL_API_KEY: process.env.REDTAIL_API_KEY || 'your_api_key',
    JWT_SECRET: process.env.JWT_SECRET || 'my_secret',
    JWT_ACCESS_TOKEN_EXPIRES: process.env.JWT_ACCESS_TOKEN_EXPIRES || '15m',
    JWT_REFRESH_TOKEN_EXPIRES: process.env.JWT_REFRESH_TOKEN_EXPIRES || '30m'
  }),
  ...
]

Change Log

See Changelog for more information.

Author

Jacob Neterer - my website

License

Licensed under the MIT License - see the LICENSE file for details.

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago