21 lines
554 B
Markdown
21 lines
554 B
Markdown
# web-identity-domain
|
|
|
|
Sesión y usuario en el navegador.
|
|
|
|
- **Import**: `@task-stream/web/identity/domain`
|
|
- **Capa**: `domain` · **Tags**: `scope:web-identity`, `type:domain`
|
|
|
|
## Contenido
|
|
|
|
- `Session`, `CurrentUser`, `AuthConfig`, `isExpired`, `sessionFrom`.
|
|
- Puertos: `AuthGateway`, `ProfileGateway`, `SessionStorage`, `AuthorizationFlow`.
|
|
|
|
## Comandos
|
|
|
|
```sh
|
|
npx nx lint web-identity-domain
|
|
npx nx test web-identity-domain # Jest
|
|
```
|
|
|
|
Reglas de dependencia entre capas: [Arquitectura](../../../../docs/02-arquitectura.md#21-capas-hexagonales).
|