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
6,952 times
Add to favorites
E-mail Twitter 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
  • 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?
    • Yes, this is already completed. You can refer following links for complete articles.