6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
14 lines
519 B
TypeScript
14 lines
519 B
TypeScript
import { EventEmitter } from '../utils/EventEmitter.js';
|
|
/**
|
|
* Implements simple transport that allows sending string messages via
|
|
* `sendCommand` and receiving them via `on('message')`.
|
|
*/
|
|
export declare class SimpleTransport extends EventEmitter<Record<'message', string>> {
|
|
#private;
|
|
/**
|
|
* @param sendCommandDelegate delegate to be called in `sendCommand`.
|
|
*/
|
|
constructor(sendCommandDelegate: (plainCommand: string) => Promise<void>);
|
|
sendCommand(plainCommand: string): Promise<void>;
|
|
}
|