BingoHa.Shared
0.3.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package BingoHa.Shared --version 0.3.1
NuGet\Install-Package BingoHa.Shared -Version 0.3.1
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="BingoHa.Shared" Version="0.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BingoHa.Shared --version 0.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BingoHa.Shared, 0.3.1"
#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 BingoHa.Shared as a Cake Addin #addin nuget:?package=BingoHa.Shared&version=0.3.1 // Install BingoHa.Shared as a Cake Tool #tool nuget:?package=BingoHa.Shared&version=0.3.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BingoHa.Shared
1、包说明
BingoHa ABP共享模块。
版本号:v 0.2.0。
2、功能说明
2.1 授权相关
接口/类 | 说明 | 备注 |
---|---|---|
BingoHaClaimTypes | 声明类型 | |
IAuthManager | 授权管理接口 | 使用授权功能时,请依赖注入此接口。 |
AuthManager | 授权管理类 | |
IJWTUser | JWT 用户接口 | 实现 JWT 授权认证时,请将用户类继承此接口。 |
JwtResult | JWT 结果 | 登录时返回的 JWT 结果。 |
2.2 枚举相关
类 | 说明 | 备注 |
---|---|---|
PersonGender | 性别枚举 | 0:未知;1:男;2:女。 |
ResponseCode | 输出状态码 | 200:正常;401:未授权;403:禁止访问;404:未找到资源;500:系统异常。 |
2.3 帮助类
类 | 说明 | 备注 |
---|---|---|
AuthorizationHelper | 授权帮助类 | 在 ConfigureServices 和 OnApplicationInitialization 中分别配置。 |
ConfigHelper | 配置帮助类 | |
CorsHelper | 跨域帮助类 | 在 ConfigureServices 和 OnApplicationInitialization 中分别配置。 |
FilterHelper | 过滤器帮助类 | 在 ConfigureServices 中配置。 |
HostHelper | 主机帮助类 | |
LoggerHelper | 日志记录帮助类 | |
RedisHelper | Redis 帮助类 | |
SwaggerHelper | Swagger 帮助类 | 在 ConfigureServices 和 OnApplicationInitialization 中分别配置。 |
2.4 输出类
类 | 说明 | 备注 |
---|---|---|
ActionResponse | 输出类 | 无结果输出。 |
ResultResponse<TResult> | 结果输出类 | 有结果输出。 |
ErrorResponse | 错误输出类 | |
ForbiddenResponse | 禁止访问输出类 | |
NotFoundResponse | 未找到输出类 | |
UnauthorizedResponse | 未授权输出类 |
2.5 工具类
类 | 说明 | 备注 |
---|---|---|
CryptoUtils | 加密工具类 | |
DateTimeUtils | 日期时间工具类 | |
RandomUtils | 随机工具类 | |
RegexUtils | 正则工具类 | |
RSAUtils | RSA 工具类 | 非对称加密。 |
EnumUtils | 枚举工具类 | 非对称加密。 |
2.6 其他
类 | 说明 | 备注 |
---|---|---|
BingoHaConsts | 常量类 |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 6.0.8)
- Newtonsoft.Json (>= 13.0.1)
- Serilog.AspNetCore (>= 6.0.1)
- Serilog.Sinks.File (>= 5.0.0)
- StackExchange.Redis (>= 2.6.48)
- Swashbuckle.AspNetCore (>= 6.4.0)
- System.IdentityModel.Tokens.Jwt (>= 6.22.0)
- Volo.Abp.AspNetCore.Mvc (>= 5.3.3)
- Volo.Abp.Autofac (>= 5.3.3)
- Volo.Abp.Security (>= 5.3.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.4 | 197 | 7/13/2023 |
1.0.2 | 163 | 5/23/2023 |
1.0.1 | 172 | 5/14/2023 |
1.0.0 | 162 | 5/14/2023 |
0.4.8 | 192 | 7/13/2023 |
0.4.7 | 177 | 7/13/2023 |
0.4.6 | 183 | 7/13/2023 |
0.4.5 | 321 | 1/10/2023 |
0.4.4 | 284 | 1/10/2023 |
0.4.3 | 327 | 11/29/2022 |
0.4.2 | 351 | 11/28/2022 |
0.4.1 | 321 | 11/27/2022 |
0.4.0 | 340 | 11/27/2022 |
0.3.5 | 398 | 10/30/2022 |
0.3.4 | 386 | 10/30/2022 |
0.3.3 | 386 | 10/30/2022 |
0.3.2 | 388 | 10/29/2022 |
0.3.1 | 389 | 10/28/2022 |
0.2.2 | 457 | 8/19/2022 |
0.2.1 | 460 | 8/10/2022 |
0.2.0 | 450 | 7/21/2022 |
0.1.0 | 466 | 7/21/2022 |