在ASP.Net MVC 5应用程序中使用多个ASP Identity 2.0 [英] Using multiple ASP Identity 2.0 within ASP.Net MVC 5 application

查看:62
本文介绍了在ASP.Net MVC 5应用程序中使用多个ASP Identity 2.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有管理区域的Web应用程序,用于管理内容,但是该站点的其余部分当前受ASP Identity的保护,该身份验证我的公共用户.现在,我需要对一些内部用户进行身份验证才能访问管理区域.

I have a web application with admin area for managing content but the rest of the site is currently secured by ASP Identity that authenticates my public users. Now I need to authenticate some internal users to access the admin area.

这可能吗?

推荐答案

您正在寻找的被称为SSO(单点登录).使用SSO,用户可以登录一次并访问多个应用程序.网络上有很多关于实现的文章.看看 http://arunendapally.com/post/implementation-of-single-sign-on-(sso)-in-asp.net-mvc 作为示例.

What you are looking for is known as SSO (Single Sign On). With SSO a user can login once and access multiple applications. There are great articles on the web about the implementation. Have a look at http://arunendapally.com/post/implementation-of-single-sign-on-(sso)-in-asp.net-mvc for a sample.

这篇关于在ASP.Net MVC 5应用程序中使用多个ASP Identity 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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