Structsยง
- Auth
Proof ๐ - Proves
verify_websocket_claimsaccepted the token for the selected room. - Http
Disconnect Claims - Http
Room Claims - Numeric
Date - RFC 7519 seconds since the Unix epoch with subsecond precision.
- Registered
JwtClaims - Registered JWT claims from RFC 7519 section 4.1.
- WebSocket
Connect Claims - WebSocket
Wire ๐Claims - Wire identities remain separate because Odoo internal users send both keys. The RTC session identifies the participant, while the account does not.
Enumsยง
Constantsยง
- MAX_
IAT_ ๐FUTURE_ SKEW - Local skew guard for
iat. - MAX_
JWT_ TOKEN_ BYTES
Functionsยง
- decode_
jwt_ ๐segment - decode_
key ๐ - decode_
signing_ ๐key - Decodes boundary key material and enforces the RFC 7518 HS256 minimum.
- derive_
key_ ๐from_ seed - duration_
since_ ๐epoch - pad_
base64 ๐ - sign
- Errors
- sign_
hs256 ๐ - split_
token ๐ - unverified_
websocket_ ๐room - Extracts a candidate room ID without authenticating the token.
- validate_
registered_ ๐claims - validate_
registered_ ๐claims_ at - validate_
token_ ๐length - verify
- Errors
- verify_
claims ๐ - Applies the same JWT policy as
verifywith a decoded signing key. - verify_
hs256 ๐ - verify_
websocket_ ๐claims - Verifies a room-scoped token and resolves its runtime participant identity.
Type Aliasesยง
- Hmac
Sha256 ๐