如何使用Azure从具有OAuth 2.0身份验证的API检索数据 [英] How to retrieve data from an API with OAuth 2.0 Authentication using Azure

查看:128
本文介绍了如何使用Azure从具有OAuth 2.0身份验证的API检索数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要使用OAuth 2.0身份验证从API检索数据.您能否让我知道在Microsoft Azure中执行此操作的最佳方法是什么.

I would need retrieve data from an API using OAuth 2.0 Authentication. Could you please let me know what is the best way to do it in Microsoft Azure.

推荐答案

您好,如果我正确理解了您的情况,则您有一个由OAuth保护的第三方API,并且您想使用该API来获取数据并将其存储在数据库或存储中的某个位置.

If I understand your scenario correctly, You have an 3rd party API secured with OAuth and you want to consume that API to Get the data out of it and store it somewhere in your DB or storage.

如果我的理解是正确的,则可以使用 Azure Webjobs 根据您执行此操作的需要,选择Azure Functions .这两种方法对于我上面描述的情况都是可行的.

If my understanding is correct, You can use Azure Webjobs or Azure Functions based on your need to perform this operation. Both of these are feasible for the scenario I described above.


这篇关于如何使用Azure从具有OAuth 2.0身份验证的API检索数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆