Azure Web PubSub · Arazzo Workflow
Azure Web PubSub Generate Token then Broadcast
Version 1.0.0
Mint a client access token for a hub and immediately broadcast a message to every connection.
Provider
Workflows
generate-token-then-broadcast
Generate a client access token for a hub, then broadcast a message to all connections.
Calls generateClientToken to mint a JWT for a hub and user, then sends a text message to every connection in the hub via sendToAll.
1
generateToken
webPubSub_generateClientToken
Mint a client access token for the hub that browser clients use to connect to the Web PubSub service.
2
broadcast
webPubSub_sendToAll
Broadcast the supplied plain-text message to every connection in the hub.