Skip to main content

unverified_websocket_room

Function unverified_websocket_room 

Source
pub(super) fn unverified_websocket_room(
    token: &SecretString,
) -> Result<String, AuthenticationError>
Expand description

Extracts a candidate room ID without authenticating the token.

Returns AuthenticationError for malformed claims or a missing room ID. The caller must verify the same token with the selected room’s key.