EaCloud.Pack.Identity
                              
                            
                                9.0.1.1
                            
                        
                    dotnet add package EaCloud.Pack.Identity --version 9.0.1.1
NuGet\Install-Package EaCloud.Pack.Identity -Version 9.0.1.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="EaCloud.Pack.Identity" Version="9.0.1.1" />
        
        
For projects that support PackageReference, copy this XML node into the project file to reference the package.
                    
    
    <PackageVersion Include="EaCloud.Pack.Identity" Version="9.0.1.1" />
<PackageReference Include="EaCloud.Pack.Identity" />
        
        
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 EaCloud.Pack.Identity --version 9.0.1.1
        
        
 The NuGet Team does not provide support for this client. Please contact its maintainers for support.
                    
    
    #r "nuget: EaCloud.Pack.Identity, 9.0.1.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.
                    
    
    #:package EaCloud.Pack.Identity@9.0.1.1
        
        
#: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=EaCloud.Pack.Identity&version=9.0.1.1
#tool nuget:?package=EaCloud.Pack.Identity&version=9.0.1.1
        
        
 The NuGet Team does not provide support for this client. Please contact its maintainers for support.
                    
    
    EaCloud 身份认证模块
说明
EaCloud 身份认证模块,封装基于 EaCloud 身份认证组件的功能实现。
用法
用法
- 通过nuget引用 EaCloud.Pack.Identity程序集
Install-Package EaCloud.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": "eacloud jwt issuer by sanqing", //发行方
      "Audience": "eacloud jwt audience by sanqing", //订阅方
      "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 | net9.0 is compatible. 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.
- 
                                                    net9.0- EaCloud.Authorization.Functions (>= 9.0.1.1)
- EaCloud.AutoMapper (>= 9.0.1.1)
- EaCloud.EntityFrameworkCore (>= 9.0.1.1)
- EaCloud.Identity (>= 9.0.1.1)
- EaCloud.Pack.SMS (>= 9.0.1.1)
 
NuGet packages (7)
Showing the top 5 NuGet packages that depend on EaCloud.Pack.Identity:
| Package | Downloads | 
|---|---|
| EaCloud.Pack.Authorization EaCloud 权限模块,包含数据权限和功能权限。 | |
| EaCloud.Pack.Audit EaCloud 审计模块,包含操作审计和数据审计。 | |
| EaCloud.Api.Identity EaCloud 身份认证模块API,封装基于 EaCloud 身份认证模块的WebApi实现。 | |
| EaCloud.Pack.Report EaCloud 报表模块,封装基于 EaCloud 报表组件的功能实现。 | |
| EaCloud.Pack.Message EaCloud 消息模块,封装公告讯息收发及记录管理功能。 | 
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | 
|---|---|---|
| 9.0.1.1 | 347 | 10/22/2025 | 
| 9.0.0.9 | 386 | 8/12/2025 | 
| 9.0.0.8 | 271 | 7/5/2025 | 
| 9.0.0.7 | 371 | 6/25/2025 | 
| 9.0.0.6 | 374 | 6/18/2025 | 
| 9.0.0.5 | 377 | 6/14/2025 | 
| 9.0.0.4 | 376 | 5/8/2025 | 
| 9.0.0.3 | 394 | 4/23/2025 | 
| 9.0.0.2 | 426 | 4/11/2025 | 
| 9.0.0.1 | 384 | 3/21/2025 | 
| 8.0.1.9 | 413 | 11/15/2024 | 
| 8.0.1.8 | 391 | 11/13/2024 | 
| 8.0.1.7 | 415 | 10/9/2024 | 
| 8.0.1.6 | 403 | 9/29/2024 | 
| 8.0.1.5 | 472 | 9/13/2024 | 
| 8.0.1.4 | 449 | 8/10/2024 | 
| 8.0.1.3 | 441 | 8/7/2024 | 
| 8.0.1.2 | 433 | 8/7/2024 | 
| 8.0.1.1 | 444 | 8/7/2024 | 
| 8.0.0.9 | 437 | 8/7/2024 | 
| 8.0.0.8 | 345 | 8/5/2024 | 
| 8.0.0.7 | 366 | 8/2/2024 | 
| 8.0.0.6 | 357 | 8/1/2024 | 
| 8.0.0.5 | 372 | 8/1/2024 | 
| 8.0.0.4 | 340 | 7/31/2024 | 
| 8.0.0.3 | 402 | 7/30/2024 | 
| 8.0.0.2 | 407 | 7/25/2024 | 
| 8.0.0.1 | 387 | 7/24/2024 | 
| 7.0.9.4 | 551 | 7/19/2024 | 
| 7.0.9.3 | 528 | 7/11/2024 | 
| 7.0.9.2 | 533 | 7/6/2024 | 
| 7.0.9.1 | 527 | 7/3/2024 | 
| 7.0.8.9 | 575 | 6/28/2024 | 
| 7.0.8.8 | 543 | 6/26/2024 | 
| 7.0.8.7 | 581 | 6/22/2024 | 
| 7.0.8.6 | 549 | 6/14/2024 | 
| 7.0.8.5 | 543 | 5/31/2024 | 
| 7.0.8.4 | 575 | 5/21/2024 | 
| 7.0.8.3 | 572 | 5/21/2024 | 
| 7.0.8.2 | 529 | 5/20/2024 | 
| 7.0.8.1 | 553 | 5/20/2024 | 
| 7.0.7.9 | 516 | 5/15/2024 | 
| 7.0.7.8 | 526 | 5/10/2024 | 
| 7.0.7.7 | 536 | 5/9/2024 | 
| 7.0.7.6 | 536 | 5/9/2024 | 
| 7.0.7.5 | 556 | 5/7/2024 | 
| 7.0.7.4 | 557 | 4/28/2024 | 
| 7.0.7.3 | 562 | 4/26/2024 | 
| 7.0.7.2 | 534 | 4/21/2024 | 
| 7.0.7.1 | 548 | 4/19/2024 | 
| 7.0.6.9 | 588 | 4/15/2024 | 
| 7.0.6.8 | 539 | 4/11/2024 | 
| 7.0.6.7 | 508 | 4/11/2024 | 
| 7.0.6.6 | 531 | 4/7/2024 | 
| 7.0.6.5 | 535 | 4/7/2024 | 
| 7.0.6.4 | 521 | 4/7/2024 | 
| 7.0.6.3 | 563 | 4/7/2024 | 
| 7.0.6.2 | 514 | 4/3/2024 | 
| 7.0.6.1 | 541 | 4/3/2024 | 
| 7.0.5.9 | 482 | 3/27/2024 | 
| 7.0.5.8 | 534 | 3/23/2024 | 
| 7.0.5.7 | 541 | 3/17/2024 | 
| 7.0.5.6 | 542 | 3/17/2024 | 
| 7.0.5.5 | 514 | 3/16/2024 | 
| 7.0.5.4 | 507 | 3/13/2024 | 
| 7.0.5.3 | 506 | 3/13/2024 | 
| 7.0.5.2 | 556 | 3/6/2024 | 
| 7.0.5.1 | 542 | 2/21/2024 | 
| 7.0.4.9 | 524 | 2/21/2024 | 
| 7.0.4.8 | 513 | 2/18/2024 | 
| 7.0.4.7 | 480 | 2/5/2024 | 
| 7.0.4.6 | 522 | 2/1/2024 | 
| 7.0.4.5 | 514 | 1/26/2024 | 
| 7.0.4.4 | 505 | 1/22/2024 | 
| 7.0.4.3 | 540 | 1/17/2024 | 
| 7.0.4.2 | 498 | 1/16/2024 | 
| 7.0.4.1 | 535 | 1/16/2024 | 
| 7.0.3.9 | 490 | 1/15/2024 | 
| 7.0.3.8 | 527 | 1/3/2024 | 
| 7.0.3.7 | 532 | 12/28/2023 | 
| 7.0.3.6 | 524 | 12/27/2023 | 
| 7.0.3.5 | 517 | 12/22/2023 | 
| 7.0.3.4 | 514 | 12/22/2023 | 
| 7.0.3.3 | 603 | 12/13/2023 | 
| 7.0.3.2 | 531 | 12/13/2023 | 
| 7.0.3.1 | 544 | 12/12/2023 | 
| 7.0.2.9 | 529 | 11/26/2023 | 
| 7.0.2.8 | 552 | 11/26/2023 | 
| 7.0.2.7 | 522 | 9/26/2023 | 
| 7.0.2.6 | 519 | 9/25/2023 | 
| 7.0.2.5 | 495 | 9/15/2023 | 
| 7.0.2.4 | 552 | 7/27/2023 | 
| 7.0.2.3 | 557 | 7/22/2023 | 
| 7.0.2.2 | 616 | 7/22/2023 | 
| 7.0.2.1 | 575 | 7/21/2023 | 
| 7.0.1.9 | 573 | 7/21/2023 | 
| 7.0.1.8 | 578 | 7/20/2023 | 
| 7.0.1.7 | 526 | 7/20/2023 | 
| 7.0.1.6 | 591 | 7/4/2023 | 
| 7.0.1.5 | 627 | 6/16/2023 | 
| 7.0.1.4 | 604 | 6/13/2023 | 
| 7.0.1.3 | 643 | 6/8/2023 | 
| 7.0.1.2 | 594 | 6/2/2023 | 
| 7.0.1.1 | 627 | 5/11/2023 | 
| 7.0.0.9 | 686 | 5/10/2023 | 
| 7.0.0.8 | 651 | 5/10/2023 | 
| 7.0.0.7 | 743 | 4/19/2023 | 
| 7.0.0.6 | 729 | 4/18/2023 | 
| 7.0.0.5 | 761 | 3/27/2023 | 
| 7.0.0.4 | 748 | 3/23/2023 | 
| 7.0.0.3 | 839 | 1/31/2023 | 
| 7.0.0.2 | 875 | 1/30/2023 | 
| 7.0.0.1 | 787 | 12/24/2022 | 
| 6.0.2.5 | 1,438 | 11/16/2022 | 
| 6.0.2.4 | 1,534 | 11/10/2022 | 
| 6.0.2.3 | 1,842 | 10/11/2022 | 
| 6.0.2.2 | 1,982 | 9/23/2022 | 
| 6.0.2.1 | 2,025 | 8/14/2022 | 
| 6.0.1.9 | 2,070 | 8/13/2022 | 
| 6.0.1.8 | 2,170 | 6/6/2022 | 
| 6.0.1.7 | 2,180 | 5/26/2022 | 
| 6.0.1.6 | 2,228 | 5/11/2022 | 
| 6.0.1.5 | 2,229 | 5/10/2022 | 
| 6.0.1.4 | 2,373 | 4/8/2022 | 
| 6.0.1.3 | 2,412 | 4/2/2022 | 
| 6.0.1.2 | 2,393 | 4/2/2022 | 
| 6.0.1.1 | 2,418 | 3/18/2022 | 
| 6.0.0.9 | 2,465 | 3/5/2022 | 
| 6.0.0.8 | 2,542 | 2/19/2022 | 
| 6.0.0.7 | 2,487 | 2/15/2022 | 
| 6.0.0.6 | 2,510 | 2/14/2022 | 
| 6.0.0.5 | 2,630 | 1/28/2022 | 
| 6.0.0.4 | 2,404 | 1/13/2022 | 
| 6.0.0.3 | 2,341 | 1/12/2022 | 
| 6.0.0.2 | 1,656 | 12/21/2021 | 
| 6.0.0.1 | 1,739 | 12/13/2021 | 
| 5.0.3.7 | 2,437 | 10/16/2021 | 
| 5.0.3.6 | 1,560 | 10/14/2021 | 
| 5.0.3.5 | 1,509 | 10/13/2021 | 
| 5.0.3.4 | 1,742 | 10/8/2021 | 
| 5.0.3.3 | 1,531 | 9/17/2021 | 
| 5.0.3.2 | 1,803 | 9/16/2021 | 
| 5.0.3.1 | 1,712 | 9/15/2021 | 
| 5.0.2.9 | 1,636 | 9/15/2021 | 
| 5.0.2.8 | 1,675 | 8/31/2021 | 
| 5.0.2.7 | 1,699 | 8/28/2021 | 
| 5.0.2.6 | 1,637 | 8/22/2021 | 
| 5.0.2.5 | 1,551 | 8/13/2021 | 
| 5.0.2.4 | 1,562 | 8/13/2021 | 
| 5.0.2.3 | 1,422 | 7/8/2021 | 
| 5.0.2.2 | 1,502 | 7/1/2021 | 
| 5.0.2.1 | 1,546 | 6/16/2021 | 
| 5.0.1.9 | 1,361 | 5/12/2021 | 
| 5.0.1.8 | 1,384 | 5/9/2021 | 
| 5.0.1.7 | 1,444 | 5/7/2021 | 
| 5.0.1.6 | 1,206 | 4/17/2021 | 
| 5.0.1.5 | 1,182 | 4/16/2021 | 
| 5.0.1.4 | 1,128 | 4/15/2021 | 
| 5.0.1.3 | 1,081 | 4/15/2021 | 
| 5.0.1.2 | 1,169 | 4/12/2021 |