Crping.AuthPolicy.JWT.Common
0.7.0
dotnet add package Crping.AuthPolicy.JWT.Common --version 0.7.0
NuGet\Install-Package Crping.AuthPolicy.JWT.Common -Version 0.7.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.AuthPolicy.JWT.Common" Version="0.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Crping.AuthPolicy.JWT.Common" Version="0.7.0" />
<PackageReference Include="Crping.AuthPolicy.JWT.Common" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Crping.AuthPolicy.JWT.Common --version 0.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Crping.AuthPolicy.JWT.Common, 0.7.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.
#:package Crping.AuthPolicy.JWT.Common@0.7.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Crping.AuthPolicy.JWT.Common&version=0.7.0
#tool nuget:?package=Crping.AuthPolicy.JWT.Common&version=0.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Crping.AuthPolicy.JWT.Common
将Crping.AuthPolicy.JWT的公共模型与接口
版本更新说明
0.7.0
2026年8月15日 星期六
- [修改] IUserLoginHandler 密码方法改为 HashPassword / VerifyPassword / NeedsRehash(PBKDF2 迁移)
- [修改] UserIdentity.Expires 改为 DateTime(UTC 过期时间戳)
- [删除] 孤儿抽象 IUserPermissions / IAdminPermissions / IMemberPermissions、IUserLogger / IAdminLogger / IMemberLogger、PermissionRule
- [依赖] 移除 NETCore.Encrypt,改用 FrameworkReference Microsoft.AspNetCore.App + Microsoft.IdentityModel.Tokens
0.6.0
2026年3月4日 星期三
- [删除] 删除了 RequestInfo.cs 文件
- [添加] 新增了 UserRequest.cs 文件,包含更多用户请求相关的属性
- [修改] 更新了多个接口和实现类,以适配新的 UserRequest 模型
0.5.0
2026年1月8日 星期四
- 接口
IUserLoginHandler新增方法GetAuthOptions
0.4.0
2026年1月8日 星期四
- 升级为
.net10
0.3.0
2024年11月19日 星期二
- 升级为
.net9
0.2.0
2024年11月12日 星期二
- 删除
AuthOptions中的属性:``,AuthOnlyLogin
0.1.0
2024年4月5日 星期五
- 授权策略验证依赖注入
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.IdentityModel.Tokens (>= 8.22.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Crping.AuthPolicy.JWT.Common:
| Package | Downloads |
|---|---|
|
Crping.AuthPolicy.JWT
Package Description |
|
|
Crping.AuthPolicy.JWT.DI
Package Description |
|
|
Crping.AuthPolicy.DAL
Package Description |
|
|
Crping.AuthPolicy.Domain
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.