没有合适的资源?快使用搜索试试~ 我知道了~
koa-auth-header:适用于koa.js框架的简单身份验证标头解析器
共6个文件
js:2个
license:1个
gitignore:1个
需积分: 9 0 下载量 21 浏览量
2021-05-21
20:11:10
上传
评论
收藏 4KB ZIP 举报
温馨提示
koa-auth-header 适用于koa.js框架的简单授权标头解析器 用法 app = koa ( ) ; var authHeader = require ( 'koa-auth-header' ) ( { required : true // if the authorization are required, will throw a 401 if the header is not present, types : { // if the authorization header is Authorization: Bearer: sometoken Bearer : function ( value ) { this . request . token = value ; } } } ) ; app . use ( aut
资源推荐
资源详情
资源评论
收起资源包目录
koa-auth-header-master.zip (6个子文件)
koa-auth-header-master
.gitignore 526B
README.md 448B
test
index.js 1KB
LICENSE 1KB
package.json 531B
index.js 899B
共 6 条
- 1
资源评论
一行一诚
- 粉丝: 17
- 资源: 4559
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功