module Turbo::Streams::StreamName::ClassMethods

def verified_stream_name_from_params

Can be used by custom turbo stream channels to obtain signed stream name from params
def verified_stream_name_from_params
  self.class.verified_stream_name(params[:signed_stream_name])
end