async fn authenticate_via_jwt( nats_url: &str, user_key: &KeyPair, jwt: impl Into<String>, ) -> Result<Client, ConnectError>
Creates a NATS connection using the provided credentials