Download the JSON Web Token Handler Package
This topic discusses how to download and use the JSON Web Token Handler in your project.
The JSON Web Token Handler extension is available as a NuGet package, which adds the necessary assemblies and references to your project. If you do not already have NuGet installed, go to nuget.org to install it. You can see the versioning history for the extension by visiting its page on NuGet: JSON Web Token Handler on NuGet
Use the Package Manager GUI
In Visual Studio, right-click your project in Solution Explorer, and then select Manage NuGet Packages.
In the Manage NuGet Packages window, click the search box and enter
JWT Token Handler
and press Enter.From the results pane, click the Install button for the first result.
The package will begin downloading. Before it is added to your project, the License Acceptance dialog will appear. If you agree to the license terms, click I Accept.
The latest JSON Web Token Handler assemblies will be downloaded and added to your project.
Use the Package Manager Console
In Visual Studio, click Tools > NuGet Package Manager > Package Manager Console.
The Package Manager Console appears. Enter the following text and press Enter:
Install-Package System.IdentityModel.Tokens.Jwt
The latest JSON Web Token Handler assemblies will be downloaded and added to your project.