Service Layer low complexity mobilebackend
1
Dependencies
1
Dependents
0
Entities
0
Integrations

Description

Backend-authenticated service that generates a controlled, tenant-scoped profile summary payload for sharing. Explicitly whitelists only public-safe fields and produces both a deep link URL and a plain-text/card format suitable for messaging apps. Prevents enumeration via authentication and org scoping.

Feature: Share Profile

share-service

Responsibilities

  • Fetch and whitelist public-safe profile fields (display name, role, org, photo)
  • Generate authenticated, tenant-scoped shareable deep link
  • Produce plain-text card format for messaging app sharing
  • Exclude all sensitive fields (phone, personal ID, address)

Interfaces

generateSharePayload(userId: String): SharePayload
getShareableDeepLink(userId: String): Uri
getPlainTextCard(userId: String): String

Relationships

Dependencies (1)

Components this component depends on

Dependents (1)

Components that depend on this component