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.
<PackageVersion Include="Crping.Auth.JWT" Version="4.9.2" />
                    
Directory.Packages.props
<PackageReference Include="Crping.Auth.JWT" />
                    
Project file
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.Auth.JWT --version 4.9.2
                    
#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.
#:package Crping.Auth.JWT@4.9.2
                    
#: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.Auth.JWT&version=4.9.2
                    
Install as a Cake Addin
#tool nuget:?package=Crping.Auth.JWT&version=4.9.2
                    
Install as a Cake Tool

Crping.Auth.JWT

基于 JWT 的身份认证与WebApi授权,并支持用户访问日志,授权调试

版本更新说明


4.9.2

2023-06-13
  • 新增授权策略验证抽象基类VerifyPolicy,以及属性与构造方法
  • 新增日志方法LogAsync(...)
  • VerifyPolicyAdminVerifyPolicyMember改为基于VerifyPolicy的实现

4.9.1

2023-05-25
  • 修改方法VerifyAsyncMemberId相关类型

4.9.0

2023-05-20
  • 相关组件全部重构,并对齐版本号,测试中

4.6.0

2023-02-15
  • 新增对AuthOnlyLogin只验证用户是否登录的支持,并记录日志

4.5.0

2023-02-10
  • 添加全局using
  • 优化所有usingnamespace
  • 用户日志添加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

  1. 修改:JwtConfig 改为 ConfigOptions
  2. 修改:Auth 配置节名称改为:Crping.Auth
  3. 新增:配置属性 PolicyName,默认值 JWT
Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.

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.

Version Downloads Last Updated
4.9.2 528 6/23/2023
4.9.1 402 5/25/2023
4.9.0 413 5/20/2023
4.6.0 536 2/15/2023
4.5.0 497 2/13/2023
4.0.0 643 11/27/2022
3.1.0 827 5/28/2022
3.0.1 933 5/26/2022
3.0.0 858 12/21/2021
1.1.0 828 9/14/2021
1.0.0 4,588 7/13/2021

基于 JWT 的身份认证与WebApi授权,并支持用户访问日志,授权调试