22 lines
687 B
Markdown
22 lines
687 B
Markdown
# web-identity-infrastructure
|
|
|
|
Adaptadores de identidad del navegador.
|
|
|
|
- **Import**: `@task-stream/web/identity/infrastructure`
|
|
- **Capa**: `infrastructure` · **Tags**: `scope:web-identity`, `type:infrastructure`
|
|
|
|
## Contenido
|
|
|
|
- `HttpAuthGateway` (`/api/auth/*`), `GraphqlProfileGateway` (`me`), `LocalSessionStorage`.
|
|
- `BrowserAuthorizationFlow`: Authorization Code + PKCE con Web Crypto y `state`.
|
|
- `SessionTokenSource`: conecta el cliente GraphQL con la `AuthFacade`.
|
|
- `provideIdentityInfrastructure()`.
|
|
|
|
## Comandos
|
|
|
|
```sh
|
|
npx nx lint web-identity-infrastructure
|
|
```
|
|
|
|
Reglas de dependencia entre capas: [Arquitectura](../../../../docs/02-arquitectura.md#21-capas-hexagonales).
|