ASP.NET MVC4 and Web API Authentication + Authorization (Windows 8 and Web)

后端 未结 2 969
孤独总比滥情好
孤独总比滥情好 2021-02-14 11:57

I created an ASP.NET MVC 4 Internet Web Application using Simple Membership db for storing users, roles and profiles.

In my app I created a Web API controller that will

相关标签:
2条回答
  • 2021-02-14 12:23

    That depends on how you're coding your app, but basically, you'll use http protocol for this. Take a look at ASP.NET MVC - HTTP Authentication Prompt and http://www.piotrwalat.net/basic-http-authentication-in-asp-net-web-api-using-membership-provider/

    0 讨论(0)
  • 2021-02-14 12:30

    You should make another api, that checks the authentication from the Windows 8 app or Windows.

    If its pass successfully from the authentication, then only you have to show user list to the client.

    0 讨论(0)
提交回复
热议问题