Development View
The development view provides an overview of the different modules inside the control plane.
Root src/
app.ts
: The starting point of the Control Planeapp.module.ts
: The main NestJS module of the Control Planeconfig.ts
: Configuration classes used across the Control Planeconfig.controller.ts
: Configuration controller responsible for providing the configuration settings to the frontend.config.module.ts
: Configuration module responsible for parsing the configuration via YAML or Environment variableshealth.controller.ts
: Controller handling health requests for providing the health of the instance to container orchestration frameworks.
Authentication src/auth
auth.client.service.ts
: Service providing an authentication client for requests to other services in the same security domainauth.controller.ts
: Controller handling authentication related requestsauth.module.ts
: Authentication moduleauth.service.ts
: Authentication service handling authentication for several wallet clients.oauth.bearer.strategy.ts
: Passport strategy for handling Bearer token authenticationoauth.strategy.ts
: Passport strategy for handling session-based authenticationoauth.guard.ts
: Guards controlling required authenticationroles.guard.ts
: Guard limiting access to specific rolessession.serializer.ts
: Session serialization for browser-based interactionsverifiablePresentation.guard.ts
: Guard controlling required authentication based on Verifiable PresentationsverfiablePresentation.strategy.ts
: Passport strategy for handling Verifiable Presentation based authentication
Wallet Clients src/auth/wallets
dev.wallet.ts
: Development wallet to enable local development without deploying an actual wallet.miw.wallet.ts
: Managed Identity Wallet client.tsg.iatp.wallet.ts
: TSG Identity and Authentication Protocol wallet client.tsg.wallet.ts
: TSG Wallet client.walletClient.ts
: Generic Wallet Client to abstract away similar methods for the wallet clients listed above.
Data Plane src/data-plane
dataplane.controller.ts
: Controller providing public endpoints for data plane interactionsdataplane.module.ts
: Data Plane moduledataPlane.service.ts
: Data Plane service providing the business logic for data planesdataPlaneManagement.controller.ts
: Controller providing management endpoints for managing data planes