title: C# Rest API oAuth + Basic Auth
body: <p>I have an existing REST API Project that uses BASIC Authorization where username and Password are passed via Querystring. This API is being consumed by &quot;n&quot; number of clients. Now there is a request from one new client that they want 0Auth 2.0 authorization and cannot use Basic auth.</p>
  <p>Since I am new to oauth and do not have much time to do R&amp;D as its a quick requirement from client, i did a basic study  and understand that for oAuth first client has call a method and we have to pass access token and then client can use this access token to authorize. My question here is can some one share a sample simple OAuth authorization code where client will pass username and password and then I can generate access token and share it with client. Appreciate any support here as its an emergency requirement.</p>