koa-jwt

时间:2021-04-01 03:04:49
【文件属性】:
文件名称:koa-jwt
文件大小:91KB
文件格式:ZIP
更新时间:2021-04-01 03:04:49
TypeScript @ lindorm-io / koa-jwt 用于@ lindorm-io / koa应用程序的令牌发行者中间件。 安装 npm install --save @lindorm-io/koa-jwt 对等依赖 该软件包具有以下对等依赖性: 用法 令牌发行者中间件 koaApp . addMiddleware ( tokenIssuerMiddleware ( { issuer : "https://authentication.service/" , // used for token validation issuerName : "auth" , // used to store issuer on context keystoreName : "auth" , // used to find the keystore on context } ) ) ;
【文件预览】:
koa-jwt-master
----.eslintrc(557B)
----src()
--------index.ts(80B)
--------middleware()
--------types()
--------test()
--------error()
----.npmignore(210B)
----tsconfig.json(486B)
----jest.config.js(406B)
----.prettierrc(191B)
----README.md(818B)
----.lintstagedrc(91B)
----.huskyrc(89B)
----.gitignore(103B)
----.eslintignore(18B)
----package-lock.json(302KB)
----package.json(2KB)
----.nvmrc(8B)

网友评论