Web API Security Using Individual User Accounts and a Custom Vault Provider

I am developing a REST-based application using Web Api 2. In the project, I decided to use the option of individual user accounts when I created my project. In the interface, I use a combination of the angularjs and ios interfaces to interact with the web api. I would like the user to enter their credentials and after successful authentication receive a jwt token (SSL), which they can use until the ticket expires. I read an article that describes how to create a custom repository provider that I need, since my custom schema is different from the asp.net identifier.

What is the recommended approach to this scenario?

Can someone provide an example of setting .net of individual accounts to authenticate users trying to access the web api action methods? As stated above, the user interface is angular.

+5
source share

Source: https://habr.com/ru/post/1208852/


All Articles