IBeam.Licensing 2.4.0

dotnet add package IBeam.Licensing --version 2.4.0
                    
NuGet\Install-Package IBeam.Licensing -Version 2.4.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="IBeam.Licensing" Version="2.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="IBeam.Licensing" Version="2.4.0" />
                    
Directory.Packages.props
<PackageReference Include="IBeam.Licensing" />
                    
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 IBeam.Licensing --version 2.4.0
                    
#r "nuget: IBeam.Licensing, 2.4.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.
#:package IBeam.Licensing@2.4.0
                    
#: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=IBeam.Licensing&version=2.4.0
                    
Install as a Cake Addin
#tool nuget:?package=IBeam.Licensing&version=2.4.0
                    
Install as a Cake Tool

IBeam.Licensing

Core contracts and models for tenant application licensing in IBeam-backed applications.

Install this package when you need licensing contracts in shared application code:

dotnet add package IBeam.Licensing

Use IBeam.Licensing.Services for runtime orchestration and IBeam.Licensing.Api for ASP.NET Core endpoint wiring.

Licensing is intentionally separate from Identity. Identity should identify the user, tenant, API credential, or agent and enforce roles/scopes. Licensing answers whether that tenant has purchased or been granted a feature entitlement and whether the subject consumes a licensed seat.

Core concepts:

  • License plans define default entitlements and limits.
  • Tenant licenses grant a plan to a tenant, optionally with provider references and overrides.
  • Seat assignments link a license to a user, API credential, agent, or external subject.
  • ILicenseAuthorizer checks runtime access to feature entitlements.

Typical service-layer usage:

public sealed class WorkCardService
{
    private readonly ILicenseAuthorizer _licenses;

    public WorkCardService(ILicenseAuthorizer licenses)
    {
        _licenses = licenses;
    }

    public async Task CreateCardAsync(Guid tenantId, Guid userId, CancellationToken ct)
    {
        await _licenses.RequireEntitlementAsync(
            tenantId,
            new LicenseSubject(LicenseSubjectTypes.User, userId.ToString()),
            "work:cards:create",
            ct);

        // Continue with the licensed operation.
    }
}

Identity and Licensing should usually be checked together:

await _roleAccess.AuthorizeAsync(user, "work:write", ct);
await _licenses.RequireEntitlementAsync(tenantId, subject, "work:cards:create", ct);

For API credential and MCP scenarios, treat the API credential scope as the authenticated permission and the license entitlement as the purchased capability:

API credential scope: api-scope:work
License entitlement: work:cards:create
Product Compatible and additional computed target framework versions.
.NET 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.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on IBeam.Licensing:

Package Downloads
IBeam.Licensing.Services

Tenant licensing services, plan catalog, entitlement authorization, and in-memory store for IBeam-backed applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.4.0 125 6/24/2026
2.3.0 120 6/24/2026