如何结合 azure AppServices API、移动和 Web 应用程序
How to combine azure AppServices API, Mobile and Web apps
我们正处于项目的开始阶段,想要决定我们可以利用 Azure 提供的哪些技术。首先,我们将拥有移动应用程序,然后是 Web 应用程序。为此,我们需要 API。我真的不想为移动设备和网络创建单独的 api。这就是为什么我想我们需要有一个共同的基础 API,移动和网络应用程序将引用和扩展移动和网络特定的逻辑。
我们要通用的是用户数据库和身份验证(使用instagram的社交身份验证,username/password等),业务逻辑。 Azure App Service 提供了 3 个可能适合此模型的组件
Azure API 应用程序 - 我假设我们可以将其用作基础 api
Azure 移动应用程序 - 将用于扩展 API 应用程序以支持特定于移动设备的内容,例如推送通知。
Azure Web App - 将是我们的 Web 应用程序。
我这里的问题如下。首先只有在Mobile App start screen it's explicitly noted that it supports social authentication. In API App据说支持
Secure APIs with Active Directory, single sign-on, and OAuth
在Web App中没有提到任何关于身份验证的内容。
我的问题如下 - 我可以在 API 应用程序中执行所有身份验证、用户管理数据访问和业务逻辑,并在 Web 和移动应用程序中使用相同的逻辑吗?
您可以使用 Azure API 应用程序进行身份验证。它支持 Azure Active Directory、Facebook、Google、Twitter 和 Microsoft 帐户。请检查此 link
https://azure.microsoft.com/en-in/documentation/articles/app-service-api-authentication/
您的网络应用可以使用 API 应用进行身份验证。
我们正处于项目的开始阶段,想要决定我们可以利用 Azure 提供的哪些技术。首先,我们将拥有移动应用程序,然后是 Web 应用程序。为此,我们需要 API。我真的不想为移动设备和网络创建单独的 api。这就是为什么我想我们需要有一个共同的基础 API,移动和网络应用程序将引用和扩展移动和网络特定的逻辑。
我们要通用的是用户数据库和身份验证(使用instagram的社交身份验证,username/password等),业务逻辑。 Azure App Service 提供了 3 个可能适合此模型的组件 Azure API 应用程序 - 我假设我们可以将其用作基础 api Azure 移动应用程序 - 将用于扩展 API 应用程序以支持特定于移动设备的内容,例如推送通知。 Azure Web App - 将是我们的 Web 应用程序。
我这里的问题如下。首先只有在Mobile App start screen it's explicitly noted that it supports social authentication. In API App据说支持
Secure APIs with Active Directory, single sign-on, and OAuth
在Web App中没有提到任何关于身份验证的内容。 我的问题如下 - 我可以在 API 应用程序中执行所有身份验证、用户管理数据访问和业务逻辑,并在 Web 和移动应用程序中使用相同的逻辑吗?
您可以使用 Azure API 应用程序进行身份验证。它支持 Azure Active Directory、Facebook、Google、Twitter 和 Microsoft 帐户。请检查此 link https://azure.microsoft.com/en-in/documentation/articles/app-service-api-authentication/ 您的网络应用可以使用 API 应用进行身份验证。