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...
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).
when log in, web app needs verify user name exists in users table , add entry currentlyloggedin table.
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
Post a Comment