Crping.Auth.JWT 4.6.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Crping.Auth.JWT --version 4.6.0                
NuGet\Install-Package Crping.Auth.JWT -Version 4.6.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.6.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.6.0                
#r "nuget: Crping.Auth.JWT, 4.6.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.6.0

// Install Crping.Auth.JWT as a Cake Tool
#tool nuget:?package=Crping.Auth.JWT&version=4.6.0                

Crping.Auth.JWT

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

版本更新说明


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 309 6/23/2023
4.9.1 232 5/25/2023
4.9.0 237 5/20/2023
4.6.0 365 2/15/2023
4.5.0 335 2/13/2023
4.0.0 450 11/27/2022
3.1.0 645 5/28/2022
3.0.1 735 5/26/2022
3.0.0 622 12/21/2021
1.1.0 603 9/14/2021
1.0.0 4,005 7/13/2021

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