Crping.Auth.JWT
4.9.2
dotnet add package Crping.Auth.JWT --version 4.9.2
NuGet\Install-Package Crping.Auth.JWT -Version 4.9.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="Crping.Auth.JWT" Version="4.9.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Crping.Auth.JWT --version 4.9.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Crping.Auth.JWT, 4.9.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.
// Install Crping.Auth.JWT as a Cake Addin #addin nuget:?package=Crping.Auth.JWT&version=4.9.2 // Install Crping.Auth.JWT as a Cake Tool #tool nuget:?package=Crping.Auth.JWT&version=4.9.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Crping.Auth.JWT
基于 JWT 的身份认证与WebApi授权,并支持用户访问日志,授权调试
版本更新说明
4.9.2
2023-06-13
- 新增授权策略验证抽象基类
VerifyPolicy
,以及属性与构造方法 - 新增日志方法
LogAsync(...)
VerifyPolicyAdmin
与VerifyPolicyMember
改为基于VerifyPolicy
的实现
4.9.1
2023-05-25
- 修改方法
VerifyAsync
与MemberId
相关类型
4.9.0
2023-05-20
- 相关组件全部重构,并对齐版本号,测试中
4.6.0
2023-02-15
- 新增对
AuthOnlyLogin
只验证用户是否登录的支持,并记录日志
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.9.2)
- Microsoft.AspNetCore.Authorization (>= 7.0.4)
- Microsoft.AspNetCore.Http (>= 2.2.2)
- Microsoft.Extensions.Configuration.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 7.0.4)
- Microsoft.IdentityModel.Tokens (>= 6.28.0)
- System.IdentityModel.Tokens.Jwt (>= 6.28.0)
- 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授权,并支持用户访问日志,授权调试