JMS.Token
9.0.2
dotnet add package JMS.Token --version 9.0.2
NuGet\Install-Package JMS.Token -Version 9.0.2
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="JMS.Token" Version="9.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JMS.Token" Version="9.0.2" />
<PackageReference Include="JMS.Token" />
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 JMS.Token --version 9.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JMS.Token, 9.0.2"
#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 JMS.Token@9.0.2
#: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=JMS.Token&version=9.0.2
#tool nuget:?package=JMS.Token&version=9.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
基于JMS.Token的身份验证
services.AddJmsTokenAuthentication(new NetAddress("127.0.0.1", 9911));
用依赖注入获取TokenClient实例,生成token
| Product | Versions 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.
-
net9.0
- JMS.Common (>= 9.0.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on JMS.Token:
| Package | Downloads |
|---|---|
|
JMS.Token.AspNetCore
基于JMS.Token的身份验证 services.AddJmsTokenAspNetCore(new NetAddress("127.0.0.1", 9911),new string[]{"Authorization"}); app.UseAuthentication(); app.UseAuthorization(); 如果通过验证,controller中通过下面代码获取token内容: this.User.FindFirstValue("Content") 用依赖注入获取TokenClient实例,生成token |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.2 | 186 | 11/28/2025 |
| 9.0.1 | 188 | 11/28/2025 |
| 9.0.0 | 262 | 5/21/2025 |
| 9.0.0-beta.1.0.1 | 229 | 5/14/2025 |
| 8.0.0-beta | 196 | 5/9/2025 |
| 1.8.0 | 231 | 3/29/2025 |
| 1.7.10 | 205 | 12/19/2024 |
| 1.7.9 | 242 | 11/8/2024 |
| 1.7.8 | 239 | 11/7/2024 |
| 1.7.7 | 263 | 9/10/2024 |
| 1.7.6 | 263 | 9/10/2024 |
| 1.7.5 | 274 | 7/9/2024 |
| 1.7.3 | 267 | 6/24/2024 |
| 1.7.1 | 254 | 6/24/2024 |
| 1.7.0 | 300 | 6/7/2024 |
| 1.6.1 | 239 | 5/31/2024 |
| 1.6.0 | 276 | 3/20/2024 |
| 1.5.0 | 338 | 12/30/2023 |
| 1.3.2 | 296 | 12/19/2023 |
| 1.3.1 | 258 | 12/18/2023 |
| 1.3.0 | 298 | 11/1/2023 |
| 1.2.9 | 255 | 10/20/2023 |
| 1.2.8 | 257 | 9/22/2023 |
| 1.2.7 | 280 | 8/30/2023 |
| 1.2.6 | 265 | 8/30/2023 |
| 1.2.5 | 343 | 8/4/2023 |
| 1.2.3 | 377 | 7/14/2023 |
| 1.2.2 | 349 | 6/30/2023 |
| 1.2.1 | 337 | 6/30/2023 |
| 1.2.0 | 386 | 6/9/2023 |
| 1.1.5 | 392 | 5/15/2023 |
| 1.1.3 | 388 | 5/11/2023 |
| 1.1.2 | 389 | 5/8/2023 |
| 1.1.1 | 386 | 5/5/2023 |
| 1.1.0 | 379 | 5/5/2023 |
| 1.0.3 | 405 | 4/28/2023 |
| 1.0.2.9 | 403 | 4/27/2023 |
| 1.0.2.8 | 395 | 4/25/2023 |
| 1.0.2.7 | 403 | 4/19/2023 |
| 1.0.2.6 | 415 | 4/19/2023 |
| 1.0.2.5 | 543 | 4/16/2023 |
| 1.0.2.3 | 434 | 4/15/2023 |
| 1.0.2.2 | 421 | 4/15/2023 |
| 1.0.2.1 | 424 | 4/15/2023 |
| 1.0.2 | 427 | 4/15/2023 |
| 1.0.1.10 | 449 | 4/8/2023 |
| 1.0.1.9 | 431 | 4/6/2023 |
| 1.0.1.8 | 440 | 4/5/2023 |
| 1.0.1.7 | 451 | 3/30/2023 |
| 1.0.1.6 | 466 | 3/29/2023 |
| 1.0.1.5 | 502 | 3/29/2023 |
| 1.0.1.3 | 524 | 3/14/2023 |
| 1.0.1.2 | 615 | 1/5/2023 |
| 1.0.1.1 | 602 | 1/5/2023 |
| 1.0.1 | 607 | 1/5/2023 |
| 1.0.0.25 | 630 | 1/1/2023 |
| 1.0.0.23 | 663 | 12/5/2022 |
| 1.0.0.22 | 649 | 11/29/2022 |
| 1.0.0.21 | 698 | 11/26/2022 |
| 1.0.0.20 | 456 | 11/26/2022 |
| 1.0.0.19 | 676 | 11/18/2022 |
| 1.0.0.18 | 474 | 11/16/2022 |
| 1.0.0.17 | 679 | 12/16/2021 |
| 1.0.0.16 | 773 | 6/15/2021 |
| 1.0.0.15 | 1,051 | 6/10/2021 |
| 1.0.0.13 | 721 | 6/10/2021 |
| 1.0.0.12 | 769 | 6/2/2021 |
| 1.0.0.11 | 753 | 6/2/2021 |
| 1.0.0.10 | 584 | 5/24/2021 |
| 1.0.0.9 | 915 | 2/23/2021 |
| 1.0.0.7 | 791 | 12/8/2020 |
| 1.0.0.6 | 1,313 | 8/21/2020 |
| 1.0.0.5 | 820 | 8/20/2020 |
| 1.0.0.3 | 1,077 | 7/31/2020 |
| 1.0.0.2 | 691 | 7/23/2020 |
| 1.0.0.1 | 636 | 7/22/2020 |
| 1.0.0 | 704 | 7/22/2020 |