Info
Version: | 1.6.0 |
Author(s): | Jack.T |
Last Update: | Wednesday, March 20, 2024 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/JMS.Token |
Install
Install-Package JMS.Token
dotnet add package JMS.Token
paket add JMS.Token
JMS.Token Download (Unzip the "nupkg" after downloading)
Dependencies
- JMS.Common(>= 1.0.0.11)
- Microsoft.Extensions.DependencyInjection.Abstractions(>= 3.1.7)
services.AddJmsTokenAuthentication(new NetAddress("127.0.0.1", 9911));
用依赖注入获取TokenClient实例,生成token.