OptionalautoAutomatically validate the token on mount
OptionalonCallback when an error occurs
OptionalonCallback when room is successfully joined
OptionalonCallback when token is successfully validated
OptionalpasswordPassword for a password-protected token, when the consumer already
knows it (e.g. a post-join stage that re-validates after the user
entered it on a join form). Used by auto-validation and the
room-active poll; an explicit validateToken(password) /
joinRoom(userId, password) argument takes precedence.
Options for the useJoinToken hook.