cognitocurl:with使用Cognito授权令牌轻松签署对API网关的curl调用-源码

上传者: 42101641 | 上传时间: 2021-01-30 20:10:08 | 文件大小: 408KB | 文件类型: ZIP
认知卷曲 :locked_with_pen: 这是一个CLI工具,可让您使用Cognito授权令牌轻松对curl调用签名到API网关。 为什么? AWS Cognito确实非常强大,特别是与API Gateway结合使用时,但是如果您使用基于Authorization标头的Cognito Authorizer或Lambda Authorizer,则可能会遇到签名curl调用的问题-这就是我们创建cognitocurl -这是一个很小的CLI工具, Node.js负责针对用户池进行登录,持久化和旋转令牌以及向curl调用添加其他标头。 用 :red_heart_selector: 在Nordcloud 用法 安装: $ npm i -g cognitocurl 然后: $ cognitocurl --cognitoclient XXX --userpool YYY --run "full curl command here" 要么 $ cognitocurl --hostedui hosteduisetupfilename.json --run "full curl comma

文件下载

资源详情

[{"title":"( 22 个子文件 408KB ) cognitocurl:with使用Cognito授权令牌轻松签署对API网关的curl调用-源码","children":[{"title":"cognitocurl-master","children":[{"title":".gitignore <span style='color:#111;'> 151B </span>","children":null,"spread":false},{"title":"preview.gif <span style='color:#111;'> 62.35KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"tslint.json <span style='color:#111;'> 96B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"api","children":[{"title":"index.ts <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"index.ts <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"cognito","children":[{"title":"clibased.ts <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"hosteduibased.ts <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 248B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"run <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":"run.cmd <span style='color:#111;'> 31B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENCE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"CODEOWNERS <span style='color:#111;'> 15B </span>","children":null,"spread":false},{"title":"workflows","children":[{"title":"codeql-analysis.yml <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"hostedui","children":[{"title":"package.json <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 210.95KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"index.js <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"webpack.config.js <span style='color:#111;'> 222B </span>","children":null,"spread":false},{"title":"dist","children":[{"title":"cognitohosteduilauncher.js <span style='color:#111;'> 1.12MB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"yarn.lock <span style='color:#111;'> 52.46KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明