first commit
This commit is contained in:
21
libs/api/identity/infrastructure/README.md
Normal file
21
libs/api/identity/infrastructure/README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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).
|
||||
Reference in New Issue
Block a user