first commit
This commit is contained in:
24
libs/api/identity/application/README.md
Normal file
24
libs/api/identity/application/README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# api-identity-application
|
||||
|
||||
Casos de uso de identidad.
|
||||
|
||||
- **Import**: `@task-stream/api/identity/application`
|
||||
- **Capa**: `application` · **Tags**: `scope:api-identity`, `type:application`
|
||||
|
||||
## Contenido
|
||||
|
||||
- `IdentityService`: punto de entrada para los presenters.
|
||||
- Queries: `ResolveSessionQuery` (token → usuario, con caché), `FindUserQuery`, `FindUsersByIdsQuery`, `SearchUsersQuery`, `GetAuthorizationConfigQuery`.
|
||||
- Commands: `IssueTokenCommand` (login / refresh vía Pireon), `HandleIdentityWebhookCommand`.
|
||||
- Puertos: `IdentityProvider`, `SessionCache`, `UserRegistry`.
|
||||
|
||||
Ver [Autenticación](../../../../docs/05-autenticacion.md).
|
||||
|
||||
## Comandos
|
||||
|
||||
```sh
|
||||
npx nx lint api-identity-application
|
||||
npx nx test api-identity-application # Jest
|
||||
```
|
||||
|
||||
Reglas de dependencia entre capas: [Arquitectura](../../../../docs/02-arquitectura.md#21-capas-hexagonales).
|
||||
Reference in New Issue
Block a user