fastify-jwt 0.1.0-beta.3
Install from the command line:
Learn more about npm packages
$ npm install @byu-oit/fastify-jwt@0.1.0-beta.3
Install via package.json:
"@byu-oit/fastify-jwt": "0.1.0-beta.3"
About this version
Provides a fastify plugin for verifying JWTs
import Fastify from 'fastify'
import {ByuLogger} from '@byu-oit/logger'
import {ByuJwtProvider} from '@byu-oit/fastify-jwt'
const logger = ByuLogger()
const fastify = Fastify({logger})
/** May pass in ByuJwt options as the second parameter */
fastify.register(ByuJwtProvider/*, { development: process.env.NODE_ENV === 'development' } */)
fastify.listen({ port: 3000 }).catch(console.error)
Details
- fastify-jwt
-
byu-oit
- about 2 years ago
- Apache-2.0
- 17 dependencies
Assets
- fastify-jwt-0.1.0-beta.3.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0