Skip to content

Commit e1475e3

Browse files
committed
fix
1 parent 7f32eda commit e1475e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

articles/azure-web-pubsub/howto-connect-mqtt-websocket-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ You could also add custom claims into the access token, and these values are pre
126126

127127
```java
128128
GetClientAccessTokenOptions option = new GetClientAccessTokenOptions();
129-
option.setWebPubSubClientAccess(WebPubSubClientProtocol.MQTT);
129+
option.setWebPubSubClientProtocol(WebPubSubClientProtocol.MQTT);
130130
WebPubSubClientAccessToken token = service.getClientAccessToken(option);
131131
```
132132
---

articles/azure-web-pubsub/howto-generate-client-access-url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ The same Client Access URL can be generated by using the Web PubSub server SDK.
178178

179179
```java
180180
GetClientAccessTokenOptions option = new GetClientAccessTokenOptions();
181-
option.setWebPubSubClientAccess(WebPubSubClientProtocol.MQTT);
181+
option.setWebPubSubClientProtocol(WebPubSubClientProtocol.MQTT);
182182
WebPubSubClientAccessToken token = service.getClientAccessToken(option);
183183
```
184184

0 commit comments

Comments
 (0)