适用于Web和移动应用程序的Azure AD与Azure AD B2C [英] Azure AD vs Azure AD B2C for web and mobile apps

查看:218
本文介绍了适用于Web和移动应用程序的Azure AD与Azure AD B2C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据我的研究:

Azure AD :适用于您组织内的用户.

Azure AD : is for users within your organization.

Azure AD B2C :适用于企业应用程序的使用者.

现在,我的目标是使用 Xamarin 创建适用于所有平台的应用程序,并且可能还针对同一应用程序使用Web应用程序.我希望我的用户的登录体验在各个设备上保持强文本,并包括我的应用的Web应用版本.

Now my aim is to create applications using Xamarin for all platforms and probably a web app as well for the same app. And I want the login experience for my users to be strong textconsistent across devices and including my web app version of my application.

例如:用户也应该能够使用电子邮件进行注册或使用社交网络登录.当他们在一个设备上注册时,它跨设备同步,而在其他设备上,他们只需要登录即可.例如 facebook和twitter ,因为它们同时具有网络应用程序和移动应用程序.

For example : user should be able to sign up with email or login with social networks as well. And when they register on one device it syncs across devices and on other devices they just have to login. an example is facebook and twitter as they have both web apps and mobile apps.

问题:Azure移动应用程序使用 Azure移动SDK 身份验证提供了Azure AD和其他社交网络,我正在尝试做同样的事情具有完整的无服务器后端 azure功能,并且我已经得到了该问题的答案

Question : Azure mobile apps provide authentication with azure AD and other social networks using Azure mobile SDK and I am trying to do the same with complete serverless back-end with azure functions and I have already got answer to that problem here .

我应该为我的应用程序使用什么? Azure AD或Azure AD B2C或两者兼有?我的用例推荐什么?

What should I use for my application? Azure AD or Azure AD B2C or both?what is recommended for my use case?

推荐答案

Azure AD:适用于您组织内的用户.

Azure AD : is for users within your organization.

Azure AD B2C:适用于企业应用程序的使用者

Azure AD B2C : is for consumers of your enterprise application

是的,您是对的.但是,Azure AD B2C也是基于Azure AD的,因此在创建应用程序或用户或与Azure AD进行交互之前,您将需要一个Azure AD B2C租户和该租户中的全局管理员帐户.无法离开Azure AD.

Yes, you're right. However, Azure AD B2C is also based on Azure AD.Before you can create applications or users, or interact with Azure AD at all, you will need an Azure AD B2C tenant and a global administrator account in the tenant.So, Azure AD B2C cannot leave Azure AD.

我应该为我的应用程序使用什么? Azure AD或Azure AD B2C或 两者?我的用例推荐什么?

What should I use for my application? Azure AD or Azure AD B2C or both?what is recommended for my use case?

根据您的请求,建议您同时使用Azure AD和Azure AD B2C.

According to your request, I recommend you to use both Azure AD and Azure AD B2C.

1.Azure AD B2C使您的应用程序能够通过多个帐户(例如社交帐户(Google,Facebook))进行身份验证.这就是您要执行的操作.它使您可以使用电子邮件进行注册或使用以下社交网络登录好吧.

1.Azure AD B2C enables your application to authenticate by multiple Accounts,such as social accounts(Google,Facebook).This is what you want to do.It makes that you can sign up with email or login with social networks as well.

2.Azure AD B2C可以让您选择不同的开发方案,包括Xamarin.它还支持不同的设备.所有的移动,桌面,Web应用程序都可以成为Azure AD B2C的应用程序开发方案.

2.Azure AD B2C can let you choose different development scenarios,including Xamarin. It also support different devices. All of Mobile,Desktop, Web Apps are all can be application development scenarios for Azure AD B2C.

3.Azure AD B2C不能离开Azure AD.要管理Azure AD B2C中的用户时,必须使用Azure AD对其进行管理.当您使用Azure AD B2C时,您将使用Azure AD来对身份进行身份验证.此外,如果您想执行许多任务以方便使用,例如创建,读取,更新用户帐户,则可以使用Azure AD Graph来完成. API.

3.Azure AD B2C cannot leave Azure AD.When you want to manager users in Azure AD B2C, you must use Azure AD to manage it. When you are using Azure AD B2C, you would have used Azure AD to authenticate Identity.Also,If you want to take many tasks for convenient,such as to create,read,update user accounts, you can do these by using Azure AD Graph API.

查看全文

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