c# - Whats the simplest way to log a user into a Web Api application and get a token back to a console app client? -


i tasked implementing simple token authentication existing .net web api application. after hours of research more confused ever.

what need follows...

  1. log in web app simple console app. (i need use console app there number of client types such consoles , winforms console app first thing working).

  2. when log in, web app needs verify user name exists in users table , add entry currentlyloggedin table.

  3. return token client console app can use subsequent requests.

q1. simplest authentication library / framework shoudl use achieve above ?

q2. wonder know of simple basic tutorial can me ? new mvc , googling have done far seems returning complex articles , examples.

here code project article

hope, you.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -