[英]Where does ASP.NET Identity store information about external authentication provider?
In my ASP.NET MVC application, I have enabled authentication using Microsoft and Google accounts.在我的 ASP.NET MVC 应用程序中,我启用了使用 Microsoft 和 Google 帐户的身份验证。 They both are working fine.他们都工作得很好。 ie, I am able to login to my application using my hotmail and gmail both accounts.即,我可以使用我的 hotmail 和 gmail 这两个帐户登录到我的应用程序。
Once logged in (say, using Microsoft account), I am able to see following screen as well.登录后(例如,使用 Microsoft 帐户),我也可以看到以下屏幕。
I am able to change the password.我可以更改密码。 While all this works fine, I am quite unsure where all this information is getting stored?虽然所有这些工作正常,但我很不确定所有这些信息存储在哪里? In previous editions, I was able to see External Provider mapping tables getting created automatically in the database.在以前的版本中,我能够看到在数据库中自动创建外部提供程序映射表。 However, in this instance, database has no table, which makes me believe that this mapping is getting stored somewhere else.然而,在这种情况下,数据库没有表,这让我相信这个映射被存储在其他地方。
Can someone please shed lights on this?有人可以解释一下吗?
PS - I am using SQL Server 2016 Express edition, and have no other authentication enabled for this application (ie, there is no Forms authentication as well). PS - 我使用的是 SQL Server 2016 Express 版本,并且没有为此应用程序启用其他身份验证(即,也没有表单身份验证)。 Only, Google and Microsoft logins are accepted.仅接受 Google 和 Microsoft 登录。 Also, System.Web.Mvc in my application is of version - 5.2.3.0此外,我的应用程序中的 System.Web.Mvc 版本为 - 5.2.3.0
They are stored in the AspNetUserLogins table.它们存储在 AspNetUserLogins 表中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.