You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/service-bus-amqp-protocol-guide.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -354,26 +354,26 @@ The request message has the following application properties:
354
354
355
355
| Key | Optional | Value Type | Value Contents |
356
356
| --- | --- | --- | --- |
357
-
| operation |No |string |**put-token**|
358
-
| type |No |string |The type of the token being put. |
359
-
| name |No |string |The "audience" to which the token applies. |
360
-
| expiration |Yes |timestamp |The expiry time of the token. |
357
+
|`operation`|No |string |**put-token**|
358
+
|`type`|No |string |The type of the token being put. |
359
+
|`name`|No |string |The "audience" to which the token applies. |
360
+
|`expiration`|Yes |timestamp |The expiry time of the token. |
361
361
362
362
The *name* property identifies the entity with which the token shall be associated. In Service Bus it's the path to the queue, or topic/subscription. The *type* property identifies the token type:
363
363
364
364
| Token Type | Token Description | Body Type | Notes |
365
365
| --- | --- | --- | --- |
366
-
| jwt |JSON Web Token (JWT) |AMQP Value (string) ||
367
-
| servicebus.windows.net:sastoken|Service Bus SAS Token |AMQP Value (string) |- |
366
+
|`jwt`|JSON Web Token (JWT) |AMQP Value (string) ||
367
+
|`servicebus.windows.net:sastoken`|Service Bus SAS Token |AMQP Value (string) |- |
368
368
369
369
Tokens confer rights. Service Bus knows about three fundamental rights: "Send" enables sending, "Listen" enables receiving, and "Manage" enables manipulating entities. Service Bus SAS tokens refer to rules configured on the namespace or entity, and those rules are configured with rights. Signing the token with the key associated with that rule thus makes the token express the respective rights. The token associated with an entity using *put-token* permits the connected client to interact with the entity per the token rights. A link where the client takes on the *sender* role requires the "Send" right; taking on the *receiver* role requires the "Listen" right.
370
370
371
371
The reply message has the following *application-properties* values
|`status-description`|Yes |string |Description of the status. |
377
377
378
378
The client can call *put-token* repeatedly and for any entity in the messaging infrastructure. The tokens are scoped to the current client and anchored on the current connection, meaning the server drops any retained tokens when the connection drops.
379
379
@@ -395,8 +395,8 @@ With this functionality, you create a sender and establish the link to the `via-
0 commit comments