Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

Asp.Net Identity 2.0 with Web API

$
0
0

Hi,

I am trying to add user roles with my identity in asp.net. So far I have created my site following the site - http://www.asp.net/web-api/overview/security/individual-accounts-in-web-api

Most of my search lead me to use MVC identity which used Login authenication. However I want to add roles to API (Roles for identity using the register,token method). I want to add user roles to my identity since I have two types of user.  

Please provide the steps to integrate roles with my  API identity. 

Thanks in advance :)


Viewing all articles
Browse latest Browse all 4850

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>