使用 Azure 移动应用程序进行自定义身份验证
Custom Authentication with Azure Mobile Apps
我正在使用新的 Azure 移动应用程序(不是旧的移动服务)作为我的 Xamarin-App 的后端。移动应用程序带有一系列社交身份验证选项(例如 Twitter、Facebook...),但我希望使用自己的帐户进行身份验证 table。
对于旧的移动服务,自定义身份验证在此处进行了描述:
http://azure.microsoft.com/de-de/documentation/articles/mobile-services-dotnet-backend-get-started-custom-authentication/
此方法使用 LoginProvider
,它在移动应用程序中不再可用。从移动服务迁移到移动应用程序的文档只是说:
One of the biggest differences between Mobile Apps and Mobile Services is that login is handled by the App Service Gateway in the case of Mobile Apps, not the code site.
http://azure.microsoft.com/de-de/documentation/articles/app-service-mobile-dotnet-backend-migrating-from-mobile-services-preview/
这是什么意思?如何实现自定义身份验证?
谢谢:)
自定义身份验证目前在移动应用程序中不可用,请参阅comment from azure app service documentation
它应该在移动应用程序普遍可用 (GA) 时可用。我有相同的登录要求,现在必须使用移动服务。
这是来自 Azure 团队的更新
目前,作为 ASP.NET 的预览 - 您现在可以使用 Microsoft.Azure.Mobile.Server.Login NuGet 包来执行此操作。更多相关信息:https://azure.microsoft.com/en-us/blog/azure-mobile-apps-november-2015-update/
我正在使用新的 Azure 移动应用程序(不是旧的移动服务)作为我的 Xamarin-App 的后端。移动应用程序带有一系列社交身份验证选项(例如 Twitter、Facebook...),但我希望使用自己的帐户进行身份验证 table。
对于旧的移动服务,自定义身份验证在此处进行了描述:
http://azure.microsoft.com/de-de/documentation/articles/mobile-services-dotnet-backend-get-started-custom-authentication/
此方法使用 LoginProvider
,它在移动应用程序中不再可用。从移动服务迁移到移动应用程序的文档只是说:
One of the biggest differences between Mobile Apps and Mobile Services is that login is handled by the App Service Gateway in the case of Mobile Apps, not the code site. http://azure.microsoft.com/de-de/documentation/articles/app-service-mobile-dotnet-backend-migrating-from-mobile-services-preview/
这是什么意思?如何实现自定义身份验证?
谢谢:)
自定义身份验证目前在移动应用程序中不可用,请参阅comment from azure app service documentation
它应该在移动应用程序普遍可用 (GA) 时可用。我有相同的登录要求,现在必须使用移动服务。
这是来自 Azure 团队的更新 目前,作为 ASP.NET 的预览 - 您现在可以使用 Microsoft.Azure.Mobile.Server.Login NuGet 包来执行此操作。更多相关信息:https://azure.microsoft.com/en-us/blog/azure-mobile-apps-november-2015-update/