MicroCloud.Pack.Identity
8.0.0.5
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 MicroCloud.Pack.Identity --version 8.0.0.5
NuGet\Install-Package MicroCloud.Pack.Identity -Version 8.0.0.5
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="MicroCloud.Pack.Identity" Version="8.0.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MicroCloud.Pack.Identity --version 8.0.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MicroCloud.Pack.Identity, 8.0.0.5"
#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 MicroCloud.Pack.Identity as a Cake Addin #addin nuget:?package=MicroCloud.Pack.Identity&version=8.0.0.5 // Install MicroCloud.Pack.Identity as a Cake Tool #tool nuget:?package=MicroCloud.Pack.Identity&version=8.0.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MicroCloud 身份认证模块
说明
MicroCloud 身份认证模块,封装基于 MicroCloud 身份认证组件的功能实现。
用法
用法
- 通过nuget引用
MicroCloud.Pack.Identity
程序集
Install-Package MicroCloud.Pack.Identity
- 在
appsettings.json
中添加如下配置节点
{
//第三方OAuth2登录
"OAuth2": {
//微信
"WeChat": {
"ClientId": "你的微信AppId",
"ClientSecret": "你的微信AppKey",
"Enabled": true //是否启用
},
//钉钉
"DingTalk": {
"ClientId": "你的钉钉AppId",
"ClientSecret": "你的钉钉AppKey",
"Enabled": true //是否启用
},
//抖音
"TikTok": {
"ClientId": "你的抖音AppID",
"ClientSecret": "你的抖音AppKey",
"Enabled": true //是否启用
},
//腾讯QQ
"QQ": {
"ClientId": "你的QQ互联项目AppId",
"ClientSecret": "你的QQ互联项目AppKey",
"Enabled": false //是否启用
},
//微软账户
"Microsoft": {
"ClientId": "你的微软项目ClientId",
"ClientSecret": "你的微软项目ClientSecret",
"Enabled": false //是否启用
},
//GitHub账户
"GitHub": {
"ClientId": "你的GitHub项目ClientId",
"ClientSecret": "你的GitHub项目ClientSecret",
"Enabled": false //是否启用
}
},
//JWT身份认证选项
"Jwt": {
"Issuer": "MicroCloud by seonsoft", //发行方
"Audience": "MicroCloud clients audience", //订阅方
"Secret": "{26289316-2BE5-4500-8925-71DDBBB86E5E}", //密钥
"AccessExpireMins": 15, //15分钟 //AccessToken有效期分钟数
"RefreshExpireMins": 10080, // 7天 //RefreshToken有效期分钟数
"IsRefreshAbsoluteExpired": false, //RefreshToken是否绝对过期
"Enabled": true //是否启用
},
//Cookie身份认证选项
"Cookie": {
"CookieName": "Cookie名称", //Cookie名称
"LoginPath": "登录地址", //登录地址
"LogoutPath": "登出地址", //登出地址
"AccessDeniedPath": "无权限地址", //无权限地址
"ReturnUrlParameter": "返回Url参数名,默认为 ReturnUrl", //返回Url参数名,默认为 ReturnUrl
"ExpireMins": 5, //过期分钟数
"SlidingExpiration": true, //是否滑动过期
"Enabled": false //是否启用
},
}
交流
QQ群号:863605868 | 微信号:SeonHu |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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.
-
net8.0
- MicroCloud.Authorization.Functions (>= 8.0.0.5)
- MicroCloud.AutoMapper (>= 8.0.0.5)
- MicroCloud.EntityFrameworkCore (>= 8.0.0.5)
- MicroCloud.Identity (>= 8.0.0.5)
- MicroCloud.Pack.SMS (>= 8.0.0.5)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on MicroCloud.Pack.Identity:
Package | Downloads |
---|---|
MicroCloud.Pack.Audit
MicroCloud 审计模块,包含操作审计和数据审计。 |
|
MicroCloud.Api.Identity
MicroCloud 身份认证模块API,封装基于 MicroCloud 身份认证模块的WebApi实现。 |
|
MicroCloud.Pack.Authorization
MicroCloud 权限模块,包含数据权限和功能权限。 |
|
MicroCloud.Pack.Message
MicroCloud 消息模块,封装公告讯息收发及记录管理功能。 |
|
MicroCloud.Pack.Report
MicroCloud 报表模块,封装基于 MicroCloud 报表组件的功能实现。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.3.1 | 156 | 9/9/2024 |
8.0.2.9 | 160 | 9/5/2024 |
8.0.2.8 | 149 | 8/31/2024 |
8.0.2.7 | 161 | 8/31/2024 |
8.0.2.6 | 162 | 8/21/2024 |
8.0.2.5 | 176 | 8/21/2024 |
8.0.2.4 | 149 | 8/12/2024 |
8.0.2.3 | 152 | 8/8/2024 |
8.0.2.2 | 145 | 7/14/2024 |
8.0.2.1 | 137 | 6/7/2024 |
8.0.1.9 | 146 | 6/6/2024 |
8.0.1.8 | 138 | 6/6/2024 |
8.0.1.7 | 142 | 5/15/2024 |
8.0.1.6 | 118 | 5/15/2024 |
8.0.1.5 | 111 | 5/15/2024 |
8.0.1.4 | 107 | 5/14/2024 |
8.0.1.3 | 113 | 5/10/2024 |
8.0.1.2 | 148 | 5/8/2024 |
8.0.1.1 | 153 | 5/7/2024 |
8.0.0.9 | 140 | 5/1/2024 |
8.0.0.8 | 147 | 5/1/2024 |
8.0.0.7 | 169 | 4/30/2024 |
8.0.0.5 | 162 | 4/19/2024 |
8.0.0.4 | 156 | 4/18/2024 |
8.0.0.3 | 169 | 4/15/2024 |
8.0.0.2 | 164 | 4/12/2024 |
8.0.0.1 | 155 | 4/12/2024 |
7.2.0.8 | 156 | 4/12/2024 |
7.2.0.7 | 161 | 4/12/2024 |
7.2.0.6 | 164 | 4/12/2024 |
7.2.0.5 | 158 | 4/12/2024 |
7.2.0.4 | 161 | 4/11/2024 |
7.2.0.2 | 206 | 4/7/2024 |
7.2.0.1 | 361 | 10/26/2023 |
7.1.2.9 | 200 | 11/7/2023 |
7.1.2.8 | 207 | 10/19/2023 |
7.1.2.7 | 159 | 10/19/2023 |
7.1.2.6 | 215 | 10/18/2023 |
7.1.2.5 | 194 | 9/20/2023 |
7.1.2.4 | 202 | 9/13/2023 |
7.1.2.3 | 202 | 9/13/2023 |
7.1.2.2 | 224 | 9/12/2023 |
7.1.2.1 | 206 | 9/4/2023 |
7.1.1.9 | 267 | 8/31/2023 |
7.1.1.6 | 242 | 8/29/2023 |
7.1.1.5 | 223 | 8/25/2023 |
7.1.1.4 | 222 | 8/25/2023 |
7.1.1.3 | 218 | 8/25/2023 |
7.1.1.2 | 200 | 8/24/2023 |
7.1.1.1 | 237 | 8/24/2023 |
7.0.3.1 | 236 | 8/24/2023 |
7.0.2.7 | 239 | 5/12/2023 |
7.0.2.6 | 217 | 5/11/2023 |
7.0.1.7 | 246 | 5/9/2023 |
7.0.1.6 | 245 | 5/9/2023 |
7.0.1.4 | 266 | 4/24/2023 |
7.0.1.3 | 238 | 4/19/2023 |
7.0.1.2 | 277 | 4/19/2023 |
7.0.0.9 | 235 | 4/18/2023 |
7.0.0.8 | 230 | 4/17/2023 |
7.0.0.7 | 307 | 4/12/2023 |
7.0.0.6 | 274 | 4/8/2023 |
7.0.0.5 | 291 | 4/7/2023 |
7.0.0.4 | 307 | 4/7/2023 |
7.0.0.3 | 298 | 4/7/2023 |