JWT Authentication for Asp.Net Web Api


Dependencies GitHub Issues Contributions welcome License

This is a webapi project written in visual studio and we will secure endpoint using JWT.

Basically, a JWT token look like:

<base64-encoded header>.<base64-encoded claims>.<base64-encoded signature>

JWT token has three sections:

  1. Header: JSON format which is encoded as a base64
  2. Claims: JSON format which is encoded as a base64.
  3. Signature: Created and signed based on Header and Claims which is encoded as a base64.

Testing

Get JWT


USE JWT

Dependencies

How to Use It ?