一个是使用SimpleMembership的应用程序(作为VS2012的MVC模板互联网应用程序),另一个是使用ClaimsPrincipal和FederatedAuthetication的应用程序。
有人有使用SimpleMembership和FederatedAuthetication进行身份验证和授权过程的经验,因为下面的步骤:
a)登录时使用websecuroty.Login (从SimpleMembership)
或
b)使用FederatedAuthentication.SessionAuthenticationModule.WriteSessionTokenToCookie
用System.Security.Claims连接这两个SimpleMembership的地方在哪里?
谢谢
发布于 2012-09-28 21:53:26
您可以使用这种方法在两个世界之间架起桥梁
http://brockallen.com/2012/09/05/integrating-claims-and-oauthwebsecurity/
发布于 2012-10-26 08:56:18
此外,FWIW,我整理了一个使用OAuth2的独立示例,然后收集返回的配置文件信息并将其用于索赔。它与前面的示例@woloski链接是分开的,但两者都在尝试做相同的事情:
http://brockallen.com/2012/10/26/integrating-claims-and-oauth2/
https://stackoverflow.com/questions/12631132
复制相似问题