JMS.Token
1.7.3
dotnet add package JMS.Token --version 1.7.3
NuGet\Install-Package JMS.Token -Version 1.7.3
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="1.7.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JMS.Token --version 1.7.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JMS.Token, 1.7.3"
#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.
// Install JMS.Token as a Cake Addin
#addin nuget:?package=JMS.Token&version=1.7.3
// Install JMS.Token as a Cake Tool
#tool nuget:?package=JMS.Token&version=1.7.3
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 | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- JMS.Common (>= 3.6.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.7)
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.5)
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 |
---|---|---|
1.7.3 | 70 | 6/24/2024 |
1.7.1 | 71 | 6/24/2024 |
1.7.0 | 119 | 6/7/2024 |
1.6.1 | 82 | 5/31/2024 |
1.6.0 | 112 | 3/20/2024 |
1.5.0 | 191 | 12/30/2023 |
1.3.2 | 137 | 12/19/2023 |
1.3.1 | 114 | 12/18/2023 |
1.3.0 | 188 | 11/1/2023 |
1.2.9 | 126 | 10/20/2023 |
1.2.8 | 141 | 9/22/2023 |
1.2.7 | 152 | 8/30/2023 |
1.2.6 | 133 | 8/30/2023 |
1.2.5 | 196 | 8/4/2023 |
1.2.3 | 198 | 7/14/2023 |
1.2.2 | 205 | 6/30/2023 |
1.2.1 | 190 | 6/30/2023 |
1.2.0 | 222 | 6/9/2023 |
1.1.5 | 218 | 5/15/2023 |
1.1.3 | 205 | 5/11/2023 |
1.1.2 | 223 | 5/8/2023 |
1.1.1 | 218 | 5/5/2023 |
1.1.0 | 205 | 5/5/2023 |
1.0.3 | 232 | 4/28/2023 |
1.0.2.9 | 227 | 4/27/2023 |
1.0.2.8 | 219 | 4/25/2023 |
1.0.2.7 | 241 | 4/19/2023 |
1.0.2.6 | 255 | 4/19/2023 |
1.0.2.5 | 340 | 4/16/2023 |
1.0.2.3 | 262 | 4/15/2023 |
1.0.2.2 | 257 | 4/15/2023 |
1.0.2.1 | 241 | 4/15/2023 |
1.0.2 | 261 | 4/15/2023 |
1.0.1.10 | 273 | 4/8/2023 |
1.0.1.9 | 246 | 4/6/2023 |
1.0.1.8 | 258 | 4/5/2023 |
1.0.1.7 | 302 | 3/30/2023 |
1.0.1.6 | 315 | 3/29/2023 |
1.0.1.5 | 319 | 3/29/2023 |
1.0.1.3 | 344 | 3/14/2023 |
1.0.1.2 | 444 | 1/5/2023 |
1.0.1.1 | 441 | 1/5/2023 |
1.0.1 | 433 | 1/5/2023 |
1.0.0.25 | 449 | 1/1/2023 |
1.0.0.23 | 483 | 12/5/2022 |
1.0.0.22 | 479 | 11/29/2022 |
1.0.0.21 | 512 | 11/26/2022 |
1.0.0.20 | 308 | 11/26/2022 |
1.0.0.19 | 508 | 11/18/2022 |
1.0.0.18 | 315 | 11/16/2022 |
1.0.0.17 | 491 | 12/16/2021 |
1.0.0.16 | 548 | 6/15/2021 |
1.0.0.15 | 790 | 6/10/2021 |
1.0.0.13 | 501 | 6/10/2021 |
1.0.0.12 | 549 | 6/2/2021 |
1.0.0.11 | 541 | 6/2/2021 |
1.0.0.10 | 400 | 5/24/2021 |
1.0.0.9 | 670 | 2/23/2021 |
1.0.0.7 | 571 | 12/8/2020 |
1.0.0.6 | 1,004 | 8/21/2020 |
1.0.0.5 | 615 | 8/20/2020 |
1.0.0.3 | 825 | 7/31/2020 |
1.0.0.2 | 498 | 7/23/2020 |
1.0.0.1 | 450 | 7/22/2020 |
1.0.0 | 494 | 7/22/2020 |