Infrastructure
26 components in the infrastructure layer
Infrastructure components provide foundational utilities, system integrations, and supporting functionality for the application.
Provides platform-appropriate secure storage for authentication tokens, using the device secure store on mobile and HTTP-only SameSite cooki...
Receives and processes the OIDC callback from the BankID identity provider after the user completes authentication. Validates the authorizat...
Receives the OAuth callback redirect from Vipps after the user completes authentication, extracts the authorization code and state parameter...
Wraps the device platform secure enclave storage (iOS Keychain, Android Keystore) to persist and retrieve the session token tied to a comple...
Typed HTTP client for all WebAuthn-related backend endpoints. Handles challenge issuance, attestation verification, assertion verification, ...
Abstracts platform-specific WebAuthn and FIDO2 APIs behind a single interface. On web it delegates to the browser's navigator.credentials AP...
Handles OS-level calendar permission requests on iOS and Android, presenting clear rationale messaging to the user before the system prompt ...
Manages microphone permission requests and tracks the current permission state on the device. It surfaces clear prompts when permission is d...
Provides a thin wrapper around the remote cloud storage API (e.g. Supabase Storage or S3-compatible bucket) used to upload and retrieve atta...
Backend infrastructure component that generates short-lived presigned URLs for direct mobile-to-object-storage uploads and stores the result...
Provides the underlying map rendering engine and tile infrastructure used by the UI layer to display geographic content. It wraps a third-pa...
Wraps the external geocoding API used to convert free-text location strings into coordinate pairs. Applies request batching, response cachin...
Stateless utility that computes the great-circle distance between two geographic coordinate pairs using the Haversine formula. Returns dista...
Integration layer connecting the geography matching feature to the peer-mentor-map dependency. Translates between the map feature's data con...
Thin infrastructure wrapper around the Firebase Cloud Messaging SDK for sending push notification payloads to registered device tokens. Abst...
Abstracts communication with external email relay and SMS gateway providers behind a unified interface. It handles provider-specific authent...
Scheduled cron-based trigger that fires RenewalReminderService at regular intervals to detect and dispatch due reminders. Routes outbound no...
Infrastructure service that maintains the canonical list of feature modules available to each organisation and exposes an API for querying w...
Bootstraps the SQLCipher extension and manages the encryption key lifecycle for the local database. It derives a per-device key from secure ...
Implements exponential backoff scheduling for failed sync attempts on both iOS and Android. It calculates delay intervals based on attempt c...
Converts a Bufdir report snapshot data structure into the target file format (CSV, XLSX, or Bufdir-specified structured file). It operates a...
HTTP client responsible for all outbound communication with the external portal's registered endpoint. Handles authentication, request signi...
Handles low-level HTTP communication with external accounting system endpoints, including Xledger and the Dynamics-based HLF portal. It mana...
Handles outbound delivery of demo booking requests to the Norse Digital Products sales team via email or webhook. It abstracts the transport...
Supplies print-optimised CSS rules for legal document pages so procurement teams can produce clean paper copies. Hides navigation, sidebars,...
Injects SEO and structured-data metadata into static legal pages at build time. Adds canonical URL, noindex directives where appropriate, an...
Other Component Types
User Interface components handle presentation logic, user interactions, and visual elements of the application.
Service Layer components contain business logic, orchestrate operations, and provide core application functionality.
Data Layer components manage data persistence, storage operations, and data access patterns throughout the application.