Skip to main content
Version: v0.4.0

Development View

The development view provides an overview of the different modules inside the wallet.

Root src/

  • app.ts: The starting point of the Wallet
  • app.module.ts: The main NestJS module of the Wallet
  • config.ts: Configuration classes used across the Wallet
  • config.module.ts: Configuration module responsible for parsing the configuration via YAML or Environment variables
  • health.controller.ts: Controller handling health requests for providing the health of the instance to container orchestration frameworks.

Authentication src/auth

  • auth.module.ts: Authentication module
  • auth.client.service.ts: Service providing an authentication client for requests to other services in the same security domain
  • auth.controller.ts: Controller handling authentication related requests
  • oauth.bearer.strategy.ts: Passport strategy for handling Bearer token authentication
  • oauth.strategy.ts: Passport strategy for handling session-based authentication
  • oauth.guard.ts: Guards controlling required authentication
  • roles.guard.ts: Guard limiting access to specific roles
  • session.serializer.ts: Session serialization for browser-based interactions

Credentials src/credentials

  • credentials.module.ts: Credentials module
  • credentials.service.ts: Credentials service providing all changes/state of credentials
  • credentials.controller.ts: Controller providing public endpoints supporting credentials
  • credentials.management.controller.ts: Controller providing management endpoints for managing credentials

DID src/did

  • did.module.ts: DID module
  • did.service.ts: Service providing all changes/state of DID and DID Document (based on DID method strategy)
  • did.resolver.ts: Service providing DID resolving (based on DID method strategy)
  • did.management.controller.ts: Controller providing management endpoints for managing DID contents
  • {DID method}/did.{DID method}.strategy.ts: Service strategy for all changes/state of DID and DID Document for this particular DID method
  • {DID method}/did.{DID method}.resolver.strategy.ts: Service strategy for resolving this particular DID method
  • {DID method}/did.{DID method}.controller.ts: Controller providing public endpoints supporting DIDs and DID Documents for this particular DID method