Tharga.Team
2.1.3
See the version list below for details.
dotnet add package Tharga.Team --version 2.1.3
NuGet\Install-Package Tharga.Team -Version 2.1.3
<PackageReference Include="Tharga.Team" Version="2.1.3" />
<PackageVersion Include="Tharga.Team" Version="2.1.3" />
<PackageReference Include="Tharga.Team" />
paket add Tharga.Team --version 2.1.3
#r "nuget: Tharga.Team, 2.1.3"
#:package Tharga.Team@2.1.3
#addin nuget:?package=Tharga.Team&version=2.1.3
#tool nuget:?package=Tharga.Team&version=2.1.3
Tharga Team
Domain models, service abstractions, and authorization primitives for multi-tenant Blazor applications. This package has no server-side dependencies and works with both Blazor Server and Blazor WebAssembly.
What's included
Team and user models
ITeam/ITeam<TMember>- Team aggregate with members.ITeamMember- Team member withAccessLevel, invitation state, tenant roles, and scope overrides.IUser- User identity.Invitation,InviteUserModel,MembershipState.
Service interfaces
ITeamService- Team CRUD, member management, invitations. IncludesGetMembersAsync(teamKey)returningIAsyncEnumerable<ITeamMember>for consumers that need to enumerate members without knowing the per-consumerTMembertype.ITeamManagementService- Scope-enforced mutations (create, rename, delete, invite, etc.).IUserService- Current user resolution.IApiKeyAdministrationService/IApiKeyManagementService- API key management.
Authorization
AccessLevelenum - Owner, Administrator, User, Viewer.TeamClaimTypes- Claim type constants (TeamKey,AccessLevel,Scope).IScopeRegistry/ScopeRegistry- Register and resolve scopes per access level.ITenantRoleRegistry/TenantRoleRegistry- Register tenant roles with associated scopes.RequireAccessLevelAttribute/RequireScopeAttribute- Declarative authorization on service methods.TeamScopes/ApiKeyScopes- Built-in scope constants.
Base classes
TeamServiceBase- Implement your own team service backend.UserServiceBase- Implement your own user service backend.
Related packages
| Package | Description |
|---|---|
| Tharga.Team.Blazor | Team management Blazor UI components, authentication |
| Tharga.Team.MongoDB | MongoDB persistence for teams and users |
| Tharga.Team.Service | Server-side API key auth, Swagger, audit logging |
| Tharga.Blazor | Generic Blazor UI components (buttons, breadcrumbs, etc.) |
| 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 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. |
-
net10.0
- Microsoft.AspNetCore.Components.Authorization (>= 10.0.8)
- Microsoft.Extensions.DependencyInjection (>= 10.0.8)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.8)
- Tharga.Toolkit (>= 1.15.24)
-
net9.0
- Microsoft.AspNetCore.Components.Authorization (>= 9.0.16)
- Microsoft.Extensions.DependencyInjection (>= 10.0.8)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.8)
- Tharga.Toolkit (>= 1.15.24)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Tharga.Team:
| Package | Downloads |
|---|---|
|
Tharga.Team.Service
Server-side API-key authentication, authorization enforcement, controller registration, OpenAPI/Swagger setup, and audit logging for ASP.NET Core projects. |
|
|
Tharga.Team.MongoDB
MontoDB Team features for Tharga Blazor. |
|
|
Tharga.Team.Blazor
Team management Blazor components for multi-tenant applications. Works with both Blazor Server and WebAssembly. |
|
|
Tharga.Team.Entra
Microsoft Entra ID user-directory provider for Tharga Team: verify users against Entra, list directory-only users, and delete users from the directory via Microsoft Graph. |
|
|
Tharga.Team.Images
Image processing for Tharga Team icons — automatic squaring and downscaling of uploaded icons via SkiaSharp. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.20.0 | 0 | 9/5/2026 |
| 3.17.0 | 100 | 9/2/2026 |
| 3.15.0 | 190 | 8/24/2026 |
| 3.14.1 | 165 | 8/24/2026 |
| 3.14.0 | 172 | 8/24/2026 |
| 3.13.1 | 176 | 8/18/2026 |
| 3.13.0 | 168 | 8/17/2026 |
| 3.12.0 | 174 | 8/10/2026 |
| 3.10.9 | 158 | 8/9/2026 |
| 3.10.8 | 175 | 8/9/2026 |
| 3.10.7 | 151 | 8/7/2026 |
| 3.10.6 | 151 | 8/7/2026 |
| 3.10.5 | 175 | 8/4/2026 |
| 3.10.4 | 179 | 8/3/2026 |
| 3.10.3 | 178 | 8/2/2026 |
| 3.10.2 | 163 | 8/2/2026 |
| 3.10.1 | 166 | 8/2/2026 |
| 3.10.0 | 165 | 8/1/2026 |
| 3.9.0 | 163 | 8/1/2026 |
| 2.1.3 | 172 | 5/30/2026 |