![]() |
VOOZH | about |
dotnet add package JMS.Token --version 9.0.2
NuGet\Install-Package JMS.Token -Version 9.0.2
<PackageReference Include="JMS.Token" Version="9.0.2" />
<PackageVersion Include="JMS.Token" Version="9.0.2" />Directory.Packages.props
<PackageReference Include="JMS.Token" />Project file
paket add JMS.Token --version 9.0.2
#r "nuget: JMS.Token, 9.0.2"
#:package JMS.Token@9.0.2
#addin nuget:?package=JMS.Token&version=9.0.2Install as a Cake Addin
#tool nuget:?package=JMS.Token&version=9.0.2Install as a Cake Tool
基于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 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
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 |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.2 | 285 | 11/28/2025 |
| 9.0.1 | 269 | 11/28/2025 |
| 9.0.0 | 329 | 5/21/2025 |
| 9.0.0-beta.1.0.1 | 258 | 5/14/2025 |
| 8.0.0-beta | 225 | 5/9/2025 |
| 1.8.0 | 308 | 3/29/2025 |
| 1.7.10 | 276 | 12/19/2024 |
| 1.7.9 | 318 | 11/8/2024 |
| 1.7.8 | 319 | 11/7/2024 |
| 1.7.7 | 340 | 9/10/2024 |
| 1.7.6 | 339 | 9/10/2024 |
| 1.7.5 | 344 | 7/9/2024 |
| 1.7.3 | 347 | 6/24/2024 |
| 1.7.1 | 330 | 6/24/2024 |
| 1.7.0 | 389 | 6/7/2024 |
| 1.6.1 | 331 | 5/31/2024 |
| 1.6.0 | 355 | 3/20/2024 |
| 1.5.0 | 420 | 12/30/2023 |
| 1.3.2 | 376 | 12/19/2023 |
| 1.3.1 | 339 | 12/18/2023 |