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                
#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                

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. 
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 311 6/23/2023
4.9.1 234 5/25/2023
4.9.0 239 5/20/2023
4.6.0 367 2/15/2023
4.5.0 337 2/13/2023
4.0.0 452 11/27/2022
3.1.0 647 5/28/2022
3.0.1 737 5/26/2022
3.0.0 624 12/21/2021
1.1.0 605 9/14/2021
1.0.0 4,007 7/13/2021

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