azure-node-sdk - ms-rest-nodeauth(azure-sdk-for-js): Error: credentials argument needs to implement signRequest method

标签 azure-node-sdk

尝试遵循 https://github.com/Azure/ms-rest-nodeauth 中的示例

当将 authresponse 传递给客户端以生成客户端以 ping 资源时,我最终得到:

错误:凭据参数需要实现signRequest方法

我正在尝试通读文档,看看是否需要签署我从 SDK/Azure AD 获取的 token ,但新 SDK 的文档没有显示任何内容

最佳答案

搞清楚了,必须在authresponse上调用.credentials

关于azure-node-sdk - ms-rest-nodeauth(azure-sdk-for-js): Error: credentials argument needs to implement signRequest method,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56856407/

相关文章:

javascript - 在 Postman 预请求脚本中获取 Azure REST 访问 token

node.js - Cosmos DB 通过部分文档更新进行增量

node.js - Blob 存储 Azure 和 javascript,如何列出特定 Blob 的所有快照

node.js - 使用 SQL 在移动应用 Node.js 后端中实现表联接

通过 Nodejs SDK 的 Azure VM 关闭计划

azure - Azure 网站上运行的 Node.js 最大文件上传量

node.js - 如何将 Angular 6 应用程序部署到 azure node.js 空 web 应用程序

node.js - 在 Azure Functions 上部署 Node 应用程序

node.js - 如何在 Visual Studio 2017 的 Azure Functions v2 中包含并运行 NodeJS?

node.js - 无效的 Blob 或 block 内容错误,Node.js 暂存 block