没有合适的资源?快使用搜索试试~ 我知道了~
jwt:基于jsonwebtoken包的JWT实用程序模块:unlocked:
共29个文件
ts:10个
json:7个
md:4个
需积分: 10 0 下载量 18 浏览量
2021-02-13
12:11:28
上传
评论
收藏 220KB ZIP 举报
温馨提示
一个渐进式的框架,用于构建高效且可扩展的服务器端应用程序。 描述 基于包的的JWT实用程序模块。 安装 $ npm i --save @nestjs/jwt 用法 导入JwtModule : @ Module ( { imports : [ JwtModule . register ( { secret : 'hard!to-guess_secret' } ) ] , providers : [ ... ] , } ) export class AuthModule { } 注入JwtService : @ Injectable ( ) export class AuthService { constructor ( private readonly jwtService : JwtService ) { } } 秘密/加密密钥选项 如果要动态控制机密和密钥管理,可以为此
资源推荐
资源详情
资源评论
收起资源包目录
jwt-master.zip (29个子文件)
jwt-master
.github
ISSUE_TEMPLATE.md 1KB
PULL_REQUEST_TEMPLATE.md 1KB
index.ts 24B
.eslintrc.js 708B
.circleci
config.yml 937B
lib
index.ts 91B
jwt.providers.ts 274B
jwt.service.ts 4KB
jwt.constants.ts 56B
interfaces
index.ts 48B
jwt-module-options.interface.ts 1KB
jwt.service.spec.ts 8KB
jwt.module.ts 2KB
.npmignore 77B
jest.json 314B
CONTRIBUTING.md 11KB
tsconfig.json 459B
LICENSE 1KB
.prettierrc 52B
README.md 8KB
index.d.ts 24B
.commitlintrc.json 466B
.release-it.json 110B
renovate.json 157B
.gitignore 146B
index.js 167B
.eslintignore 25B
package-lock.json 1.01MB
package.json 2KB
共 29 条
- 1
资源评论
实践千百次练习而
- 粉丝: 25
- 资源: 4611
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功