Crping.Auth.JWT
4.5.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Crping.Auth.JWT --version 4.5.0
NuGet\Install-Package Crping.Auth.JWT -Version 4.5.0
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="Crping.Auth.JWT" Version="4.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Crping.Auth.JWT --version 4.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Crping.Auth.JWT, 4.5.0"
#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 Crping.Auth.JWT as a Cake Addin #addin nuget:?package=Crping.Auth.JWT&version=4.5.0 // Install Crping.Auth.JWT as a Cake Tool #tool nuget:?package=Crping.Auth.JWT&version=4.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Crping.Auth.JWT
基于 JWT 的身份认证与WebApi授权,并支持用户访问日志,授权调试
版本更新说明
4.5.0
2023-02-10
- 添加全局
using
- 优化所有
using
,namespace
- 用户日志添加
IP
信息 - 认证授权添加对未认证的请求添加到用户日志的逻辑
4.0.0
2022-11-23
- 更新.net版本至:
7.0.0
历史版本:
- 3.1.0:修改请求路径搜索匹配规则
- 3.0.1:升级引用组件
- 3.0.0:目标框架修改为.net6.0
- 1.1.0:添加LoginInfo,UserIdentity,并修改JwtToken
- 1.0.0:基于 JWT 的身份认证与WebApi授权,并提供用户访问日志
2022-02-13
- 修改:JwtConfig 改为 ConfigOptions
- 修改:Auth 配置节名称改为:Crping.Auth
- 新增:配置属性 PolicyName,默认值 JWT
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Crping.Auth.JWT.Abstractions (>= 4.5.0)
- Microsoft.AspNetCore.Authorization (>= 7.0.2)
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.Extensions.Configuration.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 7.0.2)
- Microsoft.IdentityModel.Tokens (>= 6.26.1)
- System.IdentityModel.Tokens.Jwt (>= 6.26.1)
- System.Runtime (>= 4.3.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Crping.Auth.JWT:
Package | Downloads |
---|---|
Crping.Auth.BLL
Crping.Auth 的业务逻辑层 |
|
Crping.Auth.JWT.DI
将 Crping.Auth.JWT 相关服务注入WebApi等项目 |
GitHub repositories
This package is not used by any popular GitHub repositories.
基于 JWT 的身份认证与WebApi授权,并支持用户访问日志,授权调试