简体   繁体   English

ASP.NET Identity 在哪里存储有关外部身份验证提供程序的信息?

[英]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 表中。

Asp.net 身份表

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 asp.net身份自定义提供程序-无身份验证处理程序 - asp.net identity custom provider - No authentication handler 身份提供商ASP.NET Facebook身份验证不起作用 - Identity provider ASP.NET Facebook Authentication not working 没有ASP.NET标识的.NET核心外部身份验证 - .NET Core External Authentication without ASP.NET Identity ASP.NET 使用外部 OpenID Connect 提供程序进行核心认证/授权 - ASP.NET Core authentication/authorization with external OpenID Connect provider 没有身份的Asp.net身份验证不会持续 - Asp.net Authentication without identity does not persists ASP.Net Core `cookies authentication` 在哪里存储对该 cookie 的引用? - Where does ASP.Net Core `cookies authentication` store a reference to that cookie? Store 没有实现 IUserRoleStore<TUser> ASP.NET 核心标识 - Store does not implement IUserRoleStore<TUser> ASP.NET Core Identity 为什么ASP.Net Identity 2存储在NVARCHAR中的UserId中? - Why does ASP.Net Identity 2 store in UserId in a NVARCHAR? Store 没有实现 IUserPasswordStore<tuser> ASP.NET 身份</tuser> - Store does not implement IUserPasswordStore<TUser> ASP.NET Identity 在 ASP.Net web 应用程序中存储进度信息的位置 - Where to store progress information in ASP.Net web application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM