Hellmade.HubAuth.Contracts 0.5.1

Hellmade.HubAuth.Contracts

Shared contract package for downstream services that talk to Hub permission and directory APIs.

Why this package exists

Services, clients, and middleware need a stable shared shape for Hub auth-related payloads. This package keeps those contracts in one place so all consumers stay aligned.

What it includes

  • HubAuthApiRoutes
  • PermissionCheckResponse
  • DirectoryUserProfileResponse
  • DirectoryBatchRequest
  • DirectoryBatchResponse

When to use it

Use this package when you need:

  • shared route constants for Hub auth-related endpoints
  • shared permission-check payload types
  • shared directory/profile payload types

This package is especially useful for reusable backend clients and any shared code that must compile against the same Hub contract surface.

What it does not do

  • no HTTP client logic
  • no ASP.NET auth wiring
  • no local authorization models
  • no frontend UI/session behavior

Directory profile model

DirectoryUserProfileResponse represents Hub-owned profile metadata used by downstream services.

Fields include:

  • UserId
  • DisplayName
  • Email
  • ImageUrl
  • ImageZoom
  • ImageOffsetX
  • ImageOffsetY
  • FullName
  • RawDisplayName
  • Position
  • AccountUrl

Example:

{
  "userId": "af44615b-222f-4000-89d6-fcef036f2990",
  "displayName": "Jane Doe",
  "email": "jane@example.com",
  "imageUrl": "https://hub.hellmadegames.com/api/v1/images/users/avatar.png",
  "imageZoom": 1.1,
  "imageOffsetX": 0,
  "imageOffsetY": 0,
  "fullName": "Jane Doe",
  "rawDisplayName": "Jane",
  "position": "Senior Product Designer",
  "accountUrl": "https://hub.hellmadegames.com/users/af44615b-222f-4000-89d6-fcef036f2990"
}

Typical consumers

  • Hellmade.HubAuth.ServiceClients
  • backend services that want compile-time alignment with Hub payloads
  • package overview: ../../README.md
  • service clients package: ../Hellmade.HubAuth.ServiceClients/README.md

Showing the top 20 packages that depend on Hellmade.HubAuth.Contracts.

Packages Downloads
Hellmade.HubAuth.ServiceClients
Typed Hub permission and directory service clients for downstream services.
11
Hellmade.HubAuth.ServiceClients
Typed Hub permission and directory service clients for downstream services.
6
Hellmade.HubAuth.ServiceClients
Typed Hub permission and directory service clients for downstream services.
4
Hellmade.HubAuth.ServiceClients
Typed Hub permission and directory service clients for downstream services.
3
Hellmade.HubAuth.ServiceClients
Typed Hub permission and directory service clients for downstream services.
2
Hellmade.HubAuth.ServiceClients
Typed Hub permission and directory service clients for downstream services.
0

.NET 10.0

  • No dependencies.

Version Downloads Last updated
0.5.1 13 05/11/2026
0.5.0 2 05/11/2026
0.4.0 0 05/11/2026
0.3.1 21 04/21/2026
0.3.0 6 04/20/2026
0.2.0 2 04/20/2026
0.1.0 35 04/15/2026