JWT - Token based authentication


Download


JSON Web Token (JWT) with Web API. The modern approach for authenticating a user is through token based authentication scheme. It relies on signed tokens which are sent by user to server with each request. 


  • you put all claims in json web structure.
  • you sign structure using asymmetric key and encode whole thing in Base64.
  • validating signature,issuer and audience 




Image result for jwt web api c#

Comments