API reference
Permissions
Every permission identifier of the plugin, generated from permissions/.
Generated from permissions/default.toml and
permissions/autogenerated/, which Tauri writes from the command list.
How to use them in a capability: Permissions guide.
Default permission set
Identifier: centrifugo:default
Default permissions for the plugin
It includes 20 permissions:
allow-connect, allow-disconnect, allow-set-token, allow-provide-token, allow-publish, allow-rpc, allow-presence, allow-presence-stats, allow-history, allow-send, allow-refresh, allow-sub-refresh, allow-ping, allow-is-connected, allow-get-subscriptions, allow-get-connection-state, allow-add-subscription, allow-add-subscription-with-options, allow-remove-subscription, allow-remove-all-subscriptions
All permissions
| Identifier | Description | In default |
|---|---|---|
centrifugo:allow-add-subscription | Enables the add_subscription command without any pre-configured scope. | ✓ |
centrifugo:deny-add-subscription | Denies the add_subscription command without any pre-configured scope. | |
centrifugo:allow-add-subscription-with-options | Enables the add_subscription_with_options command without any pre-configured scope. | ✓ |
centrifugo:deny-add-subscription-with-options | Denies the add_subscription_with_options command without any pre-configured scope. | |
centrifugo:allow-connect | Enables the connect command without any pre-configured scope. | ✓ |
centrifugo:deny-connect | Denies the connect command without any pre-configured scope. | |
centrifugo:allow-disconnect | Enables the disconnect command without any pre-configured scope. | ✓ |
centrifugo:deny-disconnect | Denies the disconnect command without any pre-configured scope. | |
centrifugo:allow-get-connection-state | Enables the get_connection_state command without any pre-configured scope. | ✓ |
centrifugo:deny-get-connection-state | Denies the get_connection_state command without any pre-configured scope. | |
centrifugo:allow-get-subscriptions | Enables the get_subscriptions command without any pre-configured scope. | ✓ |
centrifugo:deny-get-subscriptions | Denies the get_subscriptions command without any pre-configured scope. | |
centrifugo:allow-history | Enables the history command without any pre-configured scope. | ✓ |
centrifugo:deny-history | Denies the history command without any pre-configured scope. | |
centrifugo:allow-is-connected | Enables the is_connected command without any pre-configured scope. | ✓ |
centrifugo:deny-is-connected | Denies the is_connected command without any pre-configured scope. | |
centrifugo:allow-ping | Enables the ping command without any pre-configured scope. | ✓ |
centrifugo:deny-ping | Denies the ping command without any pre-configured scope. | |
centrifugo:allow-presence | Enables the presence command without any pre-configured scope. | ✓ |
centrifugo:deny-presence | Denies the presence command without any pre-configured scope. | |
centrifugo:allow-presence-stats | Enables the presence_stats command without any pre-configured scope. | ✓ |
centrifugo:deny-presence-stats | Denies the presence_stats command without any pre-configured scope. | |
centrifugo:allow-provide-token | Enables the provide_token command without any pre-configured scope. | ✓ |
centrifugo:deny-provide-token | Denies the provide_token command without any pre-configured scope. | |
centrifugo:allow-publish | Enables the publish command without any pre-configured scope. | ✓ |
centrifugo:deny-publish | Denies the publish command without any pre-configured scope. | |
centrifugo:allow-refresh | Enables the refresh command without any pre-configured scope. | ✓ |
centrifugo:deny-refresh | Denies the refresh command without any pre-configured scope. | |
centrifugo:allow-remove-all-subscriptions | Enables the remove_all_subscriptions command without any pre-configured scope. | ✓ |
centrifugo:deny-remove-all-subscriptions | Denies the remove_all_subscriptions command without any pre-configured scope. | |
centrifugo:allow-remove-subscription | Enables the remove_subscription command without any pre-configured scope. | ✓ |
centrifugo:deny-remove-subscription | Denies the remove_subscription command without any pre-configured scope. | |
centrifugo:allow-rpc | Enables the rpc command without any pre-configured scope. | ✓ |
centrifugo:deny-rpc | Denies the rpc command without any pre-configured scope. | |
centrifugo:allow-send | Enables the send command without any pre-configured scope. | ✓ |
centrifugo:deny-send | Denies the send command without any pre-configured scope. | |
centrifugo:allow-set-token | Enables the set_token command without any pre-configured scope. | ✓ |
centrifugo:deny-set-token | Denies the set_token command without any pre-configured scope. | |
centrifugo:allow-sub-refresh | Enables the sub_refresh command without any pre-configured scope. | ✓ |
centrifugo:deny-sub-refresh | Denies the sub_refresh command without any pre-configured scope. |