CommonNetFuncs.Web.Jwt 4.0.9

dotnet add package CommonNetFuncs.Web.Jwt --version 4.0.9
                    
NuGet\Install-Package CommonNetFuncs.Web.Jwt -Version 4.0.9
                    
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="4.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommonNetFuncs.Web.Jwt" Version="4.0.9" />
                    
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 4.0.9
                    
#r "nuget: CommonNetFuncs.Web.Jwt, 4.0.9"
                    
#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@4.0.9
                    
#: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=4.0.9
                    
Install as a Cake Addin
#tool nuget:?package=CommonNetFuncs.Web.Jwt&version=4.0.9
                    
Install as a Cake Tool

CommonNetFuncs.Web.Jwt

License Build NuGet Version 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 net10.0 is compatible.  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.9 81 1/12/2026
4.0.6 87 1/2/2026
4.0.3 185 12/22/2025
4.0.2 673 12/2/2025
4.0.1 183 11/27/2025
4.0.0 184 11/23/2025
3.8.28 89 1/5/2026
3.8.20 582 12/1/2025
3.8.18 399 11/20/2025
3.8.17 407 11/19/2025
3.8.16 398 11/17/2025
3.8.13 280 11/10/2025
3.8.4 205 10/9/2025
3.7.17 206 9/11/2025
3.7.16 187 9/11/2025
3.7.13 193 9/8/2025
3.7.0 321 8/18/2025
3.6.27 180 8/18/2025
3.6.26 199 8/14/2025
3.6.25 201 8/13/2025
3.6.24 182 8/12/2025
3.6.19 155 7/28/2025
3.6.18 392 7/25/2025
3.6.1 204 7/14/2025
3.6.0 216 7/14/2025
3.5.3 187 7/10/2025
3.5.0 198 7/7/2025
3.4.23 206 6/26/2025
3.4.21 184 6/26/2025
3.4.20 186 6/25/2025
3.4.15 218 6/18/2025
3.4.13 288 6/13/2025
3.4.8 338 6/11/2025
3.4.2 193 6/2/2025
3.4.1 142 5/30/2025
3.4.0 147 5/30/2025
3.3.16 196 5/28/2025
3.3.11 191 5/18/2025
3.3.10 280 5/13/2025
3.3.0 215 4/29/2025
3.2.26 231 4/8/2025
3.2.24 207 4/1/2025
3.2.22 278 3/12/2025
3.2.21 210 3/11/2025
3.2.15 174 2/24/2025
3.2.14 175 2/20/2025
3.2.13 155 2/13/2025
3.2.11 157 2/10/2025
3.2.9 156 2/4/2025
3.2.5 140 1/27/2025
3.2.4 158 1/21/2025
3.2.1 158 1/7/2025
3.2.0 148 12/19/2024
3.1.2 200 12/13/2024
3.1.1 146 12/10/2024
3.1.0 163 12/6/2024
3.0.0 166 12/3/2024
2.1.3 153 12/3/2024
2.1.0 145 12/2/2024
2.0.5 168 11/26/2024
2.0.2 160 11/18/2024
2.0.1 158 11/15/2024
2.0.0 163 11/14/2024
1.0.47 154 11/14/2024
1.0.42 193 11/12/2024
1.0.40 170 11/12/2024
1.0.37 160 11/4/2024
1.0.31 164 10/31/2024
1.0.28 162 10/25/2024
1.0.26 203 10/18/2024
1.0.25 153 10/17/2024
1.0.24 135 10/17/2024
1.0.20 163 10/11/2024
1.0.19 156 10/11/2024
1.0.18 144 10/8/2024
1.0.17 145 9/27/2024
1.0.16 175 9/27/2024
1.0.14 170 9/23/2024
1.0.13 165 9/18/2024
1.0.12 176 9/18/2024
1.0.11 165 9/18/2024
1.0.10 186 9/11/2024
1.0.9 168 9/11/2024
1.0.8 185 9/11/2024
1.0.7 170 9/11/2024
1.0.1 184 9/4/2024
1.0.0 171 9/2/2024