Files
task-stream/libs/api/identity/infrastructure/README.md
2026-10-03 13:40:26 +02:00

689 B

api-identity-infrastructure

Adaptadores de salida de identidad.

  • Import: @task-stream/api/identity/infrastructure
  • Capa: infrastructure · Tags: scope:api-identity, type:infrastructure

Contenido

  • PireonIdentityProvider: GET /api/user, /api/users y POST /oauth/token de Pireon.
  • RedisSessionCache: tokens validados, guardados por hash SHA-256 y con TTL.
  • MongoUserRegistry: copia local de usuarios (colección users).

Comandos

npx nx lint api-identity-infrastructure
npx nx test api-identity-infrastructure    # Jest

Reglas de dependencia entre capas: Arquitectura.