CommonNetFuncs.Web.Jwt 3.7.13

There is a newer version of this package available.
See the version list below for details.
dotnet add package CommonNetFuncs.Web.Jwt --version 3.7.13
                    
NuGet\Install-Package CommonNetFuncs.Web.Jwt -Version 3.7.13
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommonNetFuncs.Web.Jwt" Version="3.7.13" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommonNetFuncs.Web.Jwt" Version="3.7.13" />
                    
Directory.Packages.props
<PackageReference Include="CommonNetFuncs.Web.Jwt" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CommonNetFuncs.Web.Jwt --version 3.7.13
                    
#r "nuget: CommonNetFuncs.Web.Jwt, 3.7.13"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CommonNetFuncs.Web.Jwt@3.7.13
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CommonNetFuncs.Web.Jwt&version=3.7.13
                    
Install as a Cake Addin
#tool nuget:?package=CommonNetFuncs.Web.Jwt&version=3.7.13
                    
Install as a Cake Tool

CommonNetFuncs.Web.Jwt

nuget

This lightweight project contains helper methods for several common functions required by applications.

Contents


JwtManager

Provides an authentication mechanism that issues JWT tokens when the correct credentials are provided.

JwtManager Usage Examples

<details> <summary><h3>Usage Examples</h3></summary>

Authenticate

Authenticate credentials and issue a JWT token if credentials are valid.

public class JwtToken // This is a class present within the CommonNetFuncs.Web.Jwt package
{
  public string? Token { get; set; }
  public string? RefreshToken { get; set; }
  public DateTime? JwtExpireTime { get; set; }
}

JwtToken? jwtToken = Authenticate("user-name", "password", "user-name-secret", "password-secret", "production", "key-secret", TimeSpan.FromMinutes(30), TimeSpan.FromMinutes(5), "issuer", "email", "audience");
// All "-secret" values should be secrets in the host application and are validated against the user submitted values.
// Issuer, Email, and Audience parameters are all optional depending on the info you want to include in the JWT token

</details>

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.3 173 12/22/2025
4.0.2 662 12/2/2025
4.0.1 174 11/27/2025
4.0.0 166 11/23/2025
3.8.20 569 12/1/2025
3.8.18 393 11/20/2025
3.8.17 395 11/19/2025
3.8.16 388 11/17/2025
3.8.13 271 11/10/2025
3.8.4 194 10/9/2025
3.7.17 196 9/11/2025
3.7.16 183 9/11/2025
3.7.13 187 9/8/2025
3.7.0 307 8/18/2025
3.6.27 170 8/18/2025
3.6.26 191 8/14/2025
3.6.25 191 8/13/2025
3.6.24 178 8/12/2025
3.6.19 148 7/28/2025
3.6.18 382 7/25/2025
3.6.1 191 7/14/2025
3.6.0 208 7/14/2025
3.5.3 180 7/10/2025
3.5.0 185 7/7/2025
3.4.23 201 6/26/2025
3.4.21 173 6/26/2025
3.4.20 173 6/25/2025
3.4.15 203 6/18/2025
3.4.13 275 6/13/2025
3.4.8 327 6/11/2025
3.4.2 179 6/2/2025
3.4.1 132 5/30/2025
3.4.0 137 5/30/2025
3.3.16 185 5/28/2025
3.3.11 180 5/18/2025
3.3.10 272 5/13/2025
3.3.0 204 4/29/2025
3.2.26 223 4/8/2025
3.2.24 201 4/1/2025
3.2.22 269 3/12/2025
3.2.21 203 3/11/2025
3.2.15 165 2/24/2025
3.2.14 162 2/20/2025
3.2.13 148 2/13/2025
3.2.11 144 2/10/2025
3.2.9 147 2/4/2025
3.2.5 132 1/27/2025
3.2.4 151 1/21/2025
3.2.1 150 1/7/2025
3.2.0 141 12/19/2024
3.1.2 191 12/13/2024
3.1.1 136 12/10/2024
3.1.0 156 12/6/2024
3.0.0 157 12/3/2024
2.1.3 146 12/3/2024
2.1.0 138 12/2/2024
2.0.5 159 11/26/2024
2.0.2 153 11/18/2024
2.0.1 148 11/15/2024
2.0.0 154 11/14/2024
1.0.47 146 11/14/2024
1.0.42 187 11/12/2024
1.0.40 160 11/12/2024
1.0.37 156 11/4/2024
1.0.31 155 10/31/2024
1.0.28 153 10/25/2024
1.0.26 196 10/18/2024
1.0.25 145 10/17/2024
1.0.24 125 10/17/2024
1.0.20 153 10/11/2024
1.0.19 147 10/11/2024
1.0.18 133 10/8/2024
1.0.17 134 9/27/2024
1.0.16 166 9/27/2024
1.0.14 161 9/23/2024
1.0.13 157 9/18/2024
1.0.12 162 9/18/2024
1.0.11 153 9/18/2024
1.0.10 173 9/11/2024
1.0.9 157 9/11/2024
1.0.8 174 9/11/2024
1.0.7 158 9/11/2024
1.0.1 177 9/4/2024
1.0.0 161 9/2/2024