Skip to main content

Module handshake

Module handshake 

Source
Expand description

Authenticates the first WebSocket envelope before room admission.

Room selection precedes JWT verification for legacy Odoo tokens. Decoded claims select only a candidate room and become trusted after verification with that room’s key.

StructsΒ§

AuthenticatedJoin πŸ”’
WebSocketAuth πŸ”’
Proves the selected room authenticated this WebSocket join.

EnumsΒ§

HandshakeError πŸ”’

FunctionsΒ§

authenticate πŸ”’
returns the authenticated room join intent without admitting the user
decode_auth_payload_text
Decodes the single auth envelope required as the first WebSocket frame.
parse_auth_payload πŸ”’
receive_auth πŸ”’
reject πŸ”’
verify_auth_payload πŸ”’