BrokerResourceRule interface
Broker Resource Rule properties. This defines the objects that represent the actions or topics, such as - method.Connect, method.Publish, etc.
Properties
client |
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection. This subfield may be set if the method is Connect. |
method | Give access for a Broker method (i.e., Connect, Subscribe, or Publish). |
topics | A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe. |
Property Details
clientIds
A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection. This subfield may be set if the method is Connect.
clientIds?: string[]
Property Value
string[]
method
Give access for a Broker method (i.e., Connect, Subscribe, or Publish).
method: string
Property Value
string
topics
A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.
topics?: string[]
Property Value
string[]