Token Based Authentication in Web API

In token-based authentication, you pass your credentials [user name and password], which go to authentication server. Server verifies your credentials and if it is a valid user then it will return a signed token to client system, which has expiration time.

C# (25.9 MB)
 
 
 
 
 
3.8 Star
(4)
6,952 times
Add to favorites
1/21/2018
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Configure as Sub Site
    1 Posts | Last post October 10, 2018
    • How can I configure this as a sub site. Its parent is using Windows Authentication
  • Password Stored in the clear?
    1 Posts | Last post April 27, 2018
    • Can you change this example to NOT store passwords as plain text? Passwords should be hashed before being stored in a database. There's even a built-in class to do this: PasswordHasher in Microsoft.AspNet.Identity.Core. See https://msdn.microsoft.com/en-us/library/microsoft.aspnet.identity.passwordhasher(v=vs.108).aspx
  • Will you finish it
    2 Posts | Last post January 21, 2018
    • Hi
      The tutorial seems incomplete.
      
      Do you have any plans to finish it) Have and delivery date?
      
      Thanks.
    • Yes, this is already completed. You can refer following links for complete articles.
      
      http://www.mukeshkumar.net/articles/web-api/token-based-authentication-in-web-api
      
      http://www.mukeshkumar.net/articles/angularjs/web-api-token-based-authentication-with-angular-js