Products can authenticate with one shared secret and tenant domain instead of per-version tokens; Bearer token remains as fallback. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
542 B
TypeScript
15 lines
542 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { NotificationsModule } from '../notifications/notifications.module';
|
|
import { RemoteSmsAuthGuard } from '../auth/remote-sms-auth.guard';
|
|
import { RemoteSmsController } from './remote-sms.controller';
|
|
import { SmsController } from './sms.controller';
|
|
import { SmsService } from './sms.service';
|
|
|
|
@Module({
|
|
imports: [NotificationsModule],
|
|
controllers: [SmsController, RemoteSmsController],
|
|
providers: [SmsService, RemoteSmsAuthGuard],
|
|
exports: [SmsService],
|
|
})
|
|
export class SmsModule {}
|