SAP Customer Data Cloud (CDC)
The @archibald/cdc package connects Archibald's authentication contract to SAP Customer Data Cloud (Gigya): a CDCUserAuthProvider for the AuthModule, plus account/session services that verify CDC signatures and JWTs.
How to use
Install the package and register the provider with the AuthModule in your server module:
// src/{platform}/server/module/server.tsx
import { AuthModule } from '@archibald/auth';
import { CDCUserAuthProvider } from '@archibald/cdc';
new AuthModule({
providers: [
new CDCUserAuthProvider({
config: () => this.configService.get('cdc')
})
]
});
The cdc block (API key, data center, credentials) lives in your environment config; the configuration guide lists every key.
Where the real documentation lives
Please refer to the CDC Integration Guide for configuration and usage examples of the @archibald/cdc package, and the CDC API Reference for the service surface.