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Β§
- Authenticated
Join π - WebSocket
Auth π - Proves the selected room authenticated this WebSocket join.
EnumsΒ§
- Handshake
Error π
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