cleansend
Version:
A TypeScript implementation of the OpenMsg Protocol - secure, decentralized messaging system with end-to-end encryption for cross-domain communication
23 lines • 895 B
TypeScript
/**
* OpenMsg Authentication Routes
*
* This module handles the authentication and connection establishment process
* between OpenMsg users across different domains. It implements a secure
* handshake protocol using pass codes and generates encryption keys for
* end-to-end messaging.
*
* Authentication Flow:
* 1. User A requests pass code from User B
* 2. User A sends auth request to User B's server with pass code
* 3. User B's server validates pass code and confirms with User A's server
* 4. Connection is established with unique encryption keys
*
* Security Features:
* - Pass codes expire after 1 hour
* - Cross-domain verification prevents spoofing
* - Unique encryption keys per connection
* - Authentication codes for message verification
*/
declare const router: import("express-serve-static-core").Router;
export default router;
//# sourceMappingURL=auth.d.ts.map