Hellmade.HubAuth.ServiceClients 0.2.0
Hellmade.HubAuth.ServiceClients
Typed HTTP clients for Hub central auth integration.
Includes
IPermissionCheckClientIDirectoryClientAddHubAuthServiceClients(...)DI wiring
Behavior
- Calls Hub endpoints:
GET /api/v1/permissions/checkGET /api/v1/directory/users/{userId}POST /api/v1/directory/users/batch
- Uses short-lived in-memory caching for resilience.
- Uses structured warning logs when falling back to cached values.
- Uses stable cache keys for directory batch lookups (order-independent user id sets).
Configuration
AddHubAuthServiceClients accepts HubAuthServiceClientOptions:
HubApiBaseUrlPermissionCacheSeconds(default:120)DirectoryCacheSeconds(default:600)MaxBatchSize(default:200)FailOpenWithCachedValue(default:true)
Scope
- Coarse service access checks and Hub directory lookups only.
- No service-local role models or business policy logic.
Showing the top 20 packages that depend on Hellmade.HubAuth.ServiceClients.
| Packages | Downloads |
|---|---|
|
Hellmade.HubAuth.AspNetCore
ASP.NET Core helpers for integrating services with Hub OIDC central auth.
|
2 |
|
Hellmade.HubAuth.AspNetCore
ASP.NET Core helpers for integrating services with OIDC identity providers such as Zitadel plus Hub coarse authorization.
|
1 |
|
Hellmade.HubAuth.AspNetCore
ASP.NET Core helpers for integrating services with OIDC identity providers such as Zitadel plus Hub coarse authorization.
|
0 |
.NET 10.0
- Hellmade.HubAuth.Contracts (>= 0.2.0)
- Microsoft.Extensions.Caching.Memory (>= 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Http (>= 10.0.0)
- Microsoft.Extensions.Options (>= 10.0.0)