I wanna create custom authentication mechanism for my web API (without 3rd party library as owin, oauth etc..).
How can I develope it? I inspect a couple of post about web API authentication scenario but I confused too.
According my scenario; an user request to web service, firstly the service check token and UDID detail if has not these bot values, user force authentication, if user authenticate service returns a token for this UDID.
As you can see above scenario, what is best practice and true way for developing token based rest service.
