Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix variable names in docs #554

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions documents/MQTT5_Userguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ For X509 based mutual TLS, you can create a client where the certificate and pri

```python
# X.509 based certificate file
cert_file_path = "<certificate file path>"
cert_filepath = "<certificate file path>"
# PKCS#1 or PKCS#8 PEM encoded private key file
pri_key_filepath = "<private key file path>"

Expand All @@ -86,8 +86,8 @@ For X509 based mutual TLS, you can create a client where the certificate and pri
# Create an MQTT5 Client using mqtt5_client_builder
client = mqtt5_client_builder.mtls_from_path(
endpoint = "<account-specific endpoint>",
cert_filepath=certificate_file_path,
pri_key_filepath=private_key_filePath))
cert_filepath=cert_filepath,
pri_key_filepath=pri_key_filepath))
```

#### **Direct MQTT with Custom Authentication**
Expand Down
8 changes: 4 additions & 4 deletions samples/mqtt5_pubsub.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ For X509 based mutual TLS, you can create a client where the certificate and pri

```python
# X.509 based certificate file
cert_file_path = "<certificate file path>"
cert_filepath = "<certificate file path>"
# PKCS#1 or PKCS#8 PEM encoded private key file
pri_key_filepath = "<private key file path>"

Expand All @@ -99,8 +99,8 @@ For X509 based mutual TLS, you can create a client where the certificate and pri
# Create an MQTT5 Client using mqtt5_client_builder
client = mqtt5_client_builder.mtls_from_path(
endpoint = "<account-specific endpoint>",
cert_filepath=certificate_file_path,
pri_key_filepath=private_key_filePath))
cert_filepath=cert_filepath,
pri_key_filepath=pri_key_filepath))
```

#### **Direct MQTT with PKCS12 Method**
Expand Down Expand Up @@ -189,4 +189,4 @@ by adding the http_proxy_options keyword argument to the builder:
```

SDK Proxy support also includes support for basic authentication and TLS-to-proxy. SDK proxy support does not include any additional
proxy authentication methods (kerberos, NTLM, etc...) nor does it include non-HTTP proxies (SOCKS5, for example).
proxy authentication methods (kerberos, NTLM, etc...) nor does it include non-HTTP proxies (SOCKS5, for example).
Loading