Bitzsoft.Integrations.LegalDatabase 1.0.0-alpha.5

This is a prerelease version of Bitzsoft.Integrations.LegalDatabase.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Bitzsoft.Integrations.LegalDatabase --version 1.0.0-alpha.5
                    
NuGet\Install-Package Bitzsoft.Integrations.LegalDatabase -Version 1.0.0-alpha.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="Bitzsoft.Integrations.LegalDatabase" Version="1.0.0-alpha.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.LegalDatabase" Version="1.0.0-alpha.5" />
                    
Directory.Packages.props
<PackageReference Include="Bitzsoft.Integrations.LegalDatabase" />
                    
Project file
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 Bitzsoft.Integrations.LegalDatabase --version 1.0.0-alpha.5
                    
#r "nuget: Bitzsoft.Integrations.LegalDatabase, 1.0.0-alpha.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.
#:package Bitzsoft.Integrations.LegalDatabase@1.0.0-alpha.5
                    
#: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=Bitzsoft.Integrations.LegalDatabase&version=1.0.0-alpha.5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Bitzsoft.Integrations.LegalDatabase&version=1.0.0-alpha.5&prerelease
                    
Install as a Cake Tool

Bitzsoft.Integrations.LegalDatabase

法规案例库统一抽象层 — 通过 ILegalDatabaseProvider 接口屏蔽各供应商差异。

安装

dotnet add package Bitzsoft.Integrations.LegalDatabase
<PackageReference Include="Bitzsoft.Integrations.LegalDatabase" Version="*" />

架构

ILegalDatabaseProvider
    ├── SsoRedirectLegalDatabaseProvider(适配器)
    │       └── 委托给 SsoRedirect 管道
    └── [未来] ApiSearchLegalDatabaseProvider
            └── API 检索 + SSO 跳转

大部分法规案例库供应商仅需 SSO 跳转,通过 SsoRedirectLegalDatabaseProvider 适配器桥接到 Bitzsoft.Integrations.SsoRedirect 的配置驱动管道,各供应商包只需十几行 DI 注册代码。

已对接供应商

包名 供应商 认证模式
LegalDatabase.WkInfo 威科先行 AesEncryption (ECB)
LegalDatabase.Faxin 法信 UrlTemplate
LegalDatabase.Jianwei 见微数据 Pipeline (RSA → API → MD5)
LegalDatabase.Jufaanli 聚法案例 UrlTemplate
LegalDatabase.Wusong 无讼 UrlTemplate
LegalDatabase.Metalaw MetaLaw UrlTemplate
LegalDatabase.Pkulaw 北大法宝 UrlTemplate
LegalDatabase.Yuandian 元典 UrlTemplate
LegalDatabase.Delilegal 得理法搜 UrlTemplate
LegalDatabase.Incopat incoPat UrlTemplate
LegalDatabase.Lexisnexis 律商联讯 UrlTemplate
LegalDatabase.Lawsdata Lawsdata UrlTemplate

聚合包 Bitzsoft.Integrations.LegalDatabase.All 一键注册所有供应商。

使用

// 注册单个供应商
services.AddBitzsoftWkInfoLegalDatabase(options =>
{
    options.AppId = "your-app-id";
    options.AppSecret = "your-app-secret";
    options.TenantName = "your-tenant";
});

// 或注册全部供应商(从 IConfiguration 读取)
services.AddBitzsoftLegalDatabase(configuration);

// 使用
public class MyService
{
    private readonly ILegalDatabaseProvider _provider;

    public MyService(ILegalDatabaseProvider provider)
    {
        _provider = provider;
    }

    public async Task<string> GetLoginUrlAsync(string userId)
    {
        var result = await _provider.GenerateAccessUrlAsync(userId);
        return result.Url;
    }
}

核心类型

类型 说明
ILegalDatabaseProvider 法规案例库统一接口
LegalDatabaseAccessUrl 访问链接结果(Url + ExpiresAt)
LegalDatabaseCapabilities 功能标志枚举
SsoRedirectLegalDatabaseProvider SSO 跳转型适配器

依赖

  • Bitzsoft.Integrations.SsoRedirect — SSO 跳转管道
  • Bitzsoft.Integrations.Compatibility — 基础工具库

相关包

  • Bitzsoft.Integrations.LegalDatabase.All — 全部供应商聚合包
  • Bitzsoft.Integrations.LegalDatabase.WkInfo — 威科先行集成
  • Bitzsoft.Integrations.LegalDatabase.Faxin — 法信集成
  • Bitzsoft.Integrations.LegalDatabase.Jufaanli — 聚法案例集成
  • Bitzsoft.Integrations.LegalDatabase.Wusong — 无讼集成
  • Bitzsoft.Integrations.LegalDatabase.Metalaw — MetaLaw 集成
  • Bitzsoft.Integrations.LegalDatabase.Lawsdata — 把手案例集成
  • Bitzsoft.Integrations.LegalDatabase.Jianwei — 见微数据集成
  • Bitzsoft.Integrations.LegalDatabase.Lexisnexis — 律商联讯集成
  • Bitzsoft.Integrations.LegalDatabase.Pkulaw — 北大法宝集成
  • Bitzsoft.Integrations.LegalDatabase.Yuandian — 元典集成
  • Bitzsoft.Integrations.LegalDatabase.Delilegal — 得理法搜集成
  • Bitzsoft.Integrations.LegalDatabase.Incopat — incoPat 集成
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  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 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.  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.  net10.0 is compatible.  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.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on Bitzsoft.Integrations.LegalDatabase:

Package Downloads
Bitzsoft.Integrations.LegalDatabase.Wusong

无讼法规案例库 SSO 跳转集成

Bitzsoft.Integrations.LegalDatabase.Metalaw

MetaLaw 法规案例库 SSO 跳转集成 — SM3 签名认证

Bitzsoft.Integrations.LegalDatabase.WkInfo

威科先行(WkInfo)法规案例库 SSO 跳转集成

Bitzsoft.Integrations.LegalDatabase.Delilegal

得理法搜法规案例库集成 — AI 智能检索与 REST API 接入

Bitzsoft.Integrations.LegalDatabase.Pkulaw

北大法宝法规案例库集成 — SSO 跳转、AlphaData API 与 AlphaGPT 接入

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-alpha.7 109 6/16/2026
1.0.0-alpha.6 107 6/16/2026
1.0.0-alpha.5 109 6/14/2026
1.0.0-alpha.3 108 6/7/2026