Skip to main content

authenticate_via_jwt

Function authenticate_via_jwt 

Source
async fn authenticate_via_jwt(
    nats_url: &str,
    user_key: &KeyPair,
    jwt: impl Into<String>,
) -> Result<Client, ConnectError>
Expand description

Creates a NATS connection using the provided credentials