Last post Apr 30, 2014 02:37 AM by damienBod
Apr 29, 2014 06:34 PM|jhalbrecht|LINK
I'm attempting to authenticate and authorize a Windows [store|phone] client to asp.net mvc web api 2 Identity 2.0. Initially when I created the project / site my AccountController is a : Controller I would like to add api support - an AccountController :
ApiController Is there a _proper_ way to accomplish this? With Scaffolding or a nuGet package or ??? Or do I just need to copy out of another AccountController : ApiController project? Adding it this way I might miss something.
If you know of a blog post or sample of a web api 2.0 and windows store app demonstrating authentication and authorization please pass along the link.
Apr 30, 2014 02:37 AM|damienBod|LINK
Thinkteckture provide examples and tutoriols for this.
Here's an example od a OAUTH2 Implimit flow client. Thze server code for your web API is the resource server in this src code. For Authentification it is not so easy at present.