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 π - Room
Scoped πConnect Claims - Legacy Odoo claims use
AuthPayload::channelinstead of a room-id claim. - 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
- authenticate_
room_ πscoped_ claims - decode_
auth_ payload_ text - Decodes the single auth envelope required as the first WebSocket frame.
- parse_
auth_ πpayload - receive_
auth π - reject π
- resolve_
handshake_ πroom - Selects the candidate room without trusting decoded claims.
- resolve_
room_ πby_ id - verify_
auth_ πpayload