Tharga.Team.Blazor
2.0.8
dotnet add package Tharga.Team.Blazor --version 2.0.8
NuGet\Install-Package Tharga.Team.Blazor -Version 2.0.8
<PackageReference Include="Tharga.Team.Blazor" Version="2.0.8" />
<PackageVersion Include="Tharga.Team.Blazor" Version="2.0.8" />
<PackageReference Include="Tharga.Team.Blazor" />
paket add Tharga.Team.Blazor --version 2.0.8
#r "nuget: Tharga.Team.Blazor, 2.0.8"
#:package Tharga.Team.Blazor@2.0.8
#addin nuget:?package=Tharga.Team.Blazor&version=2.0.8
#tool nuget:?package=Tharga.Team.Blazor&version=2.0.8
Tharga Team Blazor
Team management Blazor components for multi-tenant applications. Works with both Blazor Server and Blazor WebAssembly.
Components
- Team management -
TeamSelector,TeamComponent,TeamDialog,InviteUserDialog,TeamInviteView. - API key management -
ApiKeyViewfor team-scoped API keys. - User management -
UserProfileView,UsersView. - Authentication -
LoginDisplaywith login/logout and team navigation. - Claims augmentation -
TeamClaimsAuthenticationStateProvideraddsTeamKey,AccessLevel, role, and scope claims. Compatible with all hosting models. - Audit -
AuditLogViewfor viewing audit logs with charts and filtering.
Quick Start (recommended)
Use AddThargaPlatform to register all Platform services in one call:
builder.AddThargaPlatform(o =>
{
o.Blazor.Title = "My App";
o.Blazor.RegisterTeamService<MyTeamService, MyUserService>();
});
var app = builder.Build();
app.UseThargaPlatform();
This registers auth (Azure AD + OIDC), API key authentication, Blazor components, and controllers with sensible defaults. See the main README for the full setup including MongoDB.
Individual Registration
For partial or custom setups, use the individual methods:
Authentication
builder.AddThargaAuth(); // registers auth services
app.UseThargaAuth(); // maps /login and /logout endpoints
Requires an AzureAd section in appsettings.json:
{
"AzureAd": {
"Authority": "https://<tenant>.ciamlogin.com/<domain>",
"ClientId": "<client-id>",
"TenantId": "<tenant-id>",
"CallbackPath": "/signin-oidc"
}
}
Team management
builder.Services.AddThargaTeamBlazor(o =>
{
o.Title = "My App";
o.RegisterTeamService<MyTeamService, MyUserService>();
});
UI components:
<LoginDisplay />— profile menu with Gravatar when authenticated, login button when not.<UserProfileView />— displays the user's profile info and authentication claims.
Dependencies
- Tharga.Blazor - Generic UI components.
- Tharga.Team - Domain models and authorization primitives.
- Tharga.Team.Service - Audit types for AuditLogView.
Related packages
| Package | Description |
|---|---|
| Tharga.Team.MongoDB | MongoDB persistence for teams and users |
| Tharga.Team.Service | Server-side API key auth, Swagger, audit logging |
| 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.Identity.Web (>= 4.7.0)
- System.Linq.Async (>= 7.0.0)
- Tharga.Blazor (>= 2.1.2)
- Tharga.Team (>= 2.0.8)
- Tharga.Team.Service (>= 2.0.8)
-
net9.0
- Microsoft.Identity.Web (>= 4.7.0)
- System.Linq.Async (>= 7.0.0)
- Tharga.Blazor (>= 2.1.2)
- Tharga.Team (>= 2.0.8)
- Tharga.Team.Service (>= 2.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.8 | 84 | 4/8/2026 |
| 2.0.7 | 101 | 4/6/2026 |
| 2.0.5 | 85 | 4/5/2026 |
| 2.0.4 | 94 | 4/4/2026 |
| 2.0.3 | 93 | 4/3/2026 |
| 2.0.3-pre.1 | 46 | 4/3/2026 |
| 2.0.2 | 89 | 3/25/2026 |
| 2.0.2-pre.1 | 45 | 3/25/2026 |
| 2.0.1 | 82 | 3/24/2026 |
| 2.0.1-pre.5 | 46 | 3/24/2026 |
| 2.0.1-pre.4 | 42 | 3/24/2026 |
| 2.0.1-pre.3 | 47 | 3/23/2026 |
| 2.0.1-pre.2 | 43 | 3/23/2026 |
| 2.0.1-pre.1 | 47 | 3/22/2026 |
| 2.0.0 | 93 | 3/19/2026 |
| 2.0.0-pre.5 | 43 | 3/19/2026 |
| 2.0.0-pre.4 | 43 | 3/19/2026 |
| 2.0.0-pre.3 | 42 | 3/18/2026 |
| 2.0.0-pre.2 | 41 | 3/18/2026 |
| 2.0.0-pre.1 | 54 | 3/17/2026 |