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

22 lines
689 B
Markdown

# 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
```sh
npx nx lint api-identity-infrastructure
npx nx test api-identity-infrastructure # Jest
```
Reglas de dependencia entre capas: [Arquitectura](../../../../docs/02-arquitectura.md#21-capas-hexagonales).