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

IdentifierDescriptionIn default
centrifugo:allow-add-subscriptionEnables the add_subscription command without any pre-configured scope.✓
centrifugo:deny-add-subscriptionDenies the add_subscription command without any pre-configured scope.
centrifugo:allow-add-subscription-with-optionsEnables the add_subscription_with_options command without any pre-configured scope.✓
centrifugo:deny-add-subscription-with-optionsDenies the add_subscription_with_options command without any pre-configured scope.
centrifugo:allow-connectEnables the connect command without any pre-configured scope.✓
centrifugo:deny-connectDenies the connect command without any pre-configured scope.
centrifugo:allow-disconnectEnables the disconnect command without any pre-configured scope.✓
centrifugo:deny-disconnectDenies the disconnect command without any pre-configured scope.
centrifugo:allow-get-connection-stateEnables the get_connection_state command without any pre-configured scope.✓
centrifugo:deny-get-connection-stateDenies the get_connection_state command without any pre-configured scope.
centrifugo:allow-get-subscriptionsEnables the get_subscriptions command without any pre-configured scope.✓
centrifugo:deny-get-subscriptionsDenies the get_subscriptions command without any pre-configured scope.
centrifugo:allow-historyEnables the history command without any pre-configured scope.✓
centrifugo:deny-historyDenies the history command without any pre-configured scope.
centrifugo:allow-is-connectedEnables the is_connected command without any pre-configured scope.✓
centrifugo:deny-is-connectedDenies the is_connected command without any pre-configured scope.
centrifugo:allow-pingEnables the ping command without any pre-configured scope.✓
centrifugo:deny-pingDenies the ping command without any pre-configured scope.
centrifugo:allow-presenceEnables the presence command without any pre-configured scope.✓
centrifugo:deny-presenceDenies the presence command without any pre-configured scope.
centrifugo:allow-presence-statsEnables the presence_stats command without any pre-configured scope.✓
centrifugo:deny-presence-statsDenies the presence_stats command without any pre-configured scope.
centrifugo:allow-provide-tokenEnables the provide_token command without any pre-configured scope.✓
centrifugo:deny-provide-tokenDenies the provide_token command without any pre-configured scope.
centrifugo:allow-publishEnables the publish command without any pre-configured scope.✓
centrifugo:deny-publishDenies the publish command without any pre-configured scope.
centrifugo:allow-refreshEnables the refresh command without any pre-configured scope.✓
centrifugo:deny-refreshDenies the refresh command without any pre-configured scope.
centrifugo:allow-remove-all-subscriptionsEnables the remove_all_subscriptions command without any pre-configured scope.✓
centrifugo:deny-remove-all-subscriptionsDenies the remove_all_subscriptions command without any pre-configured scope.
centrifugo:allow-remove-subscriptionEnables the remove_subscription command without any pre-configured scope.✓
centrifugo:deny-remove-subscriptionDenies the remove_subscription command without any pre-configured scope.
centrifugo:allow-rpcEnables the rpc command without any pre-configured scope.✓
centrifugo:deny-rpcDenies the rpc command without any pre-configured scope.
centrifugo:allow-sendEnables the send command without any pre-configured scope.✓
centrifugo:deny-sendDenies the send command without any pre-configured scope.
centrifugo:allow-set-tokenEnables the set_token command without any pre-configured scope.✓
centrifugo:deny-set-tokenDenies the set_token command without any pre-configured scope.
centrifugo:allow-sub-refreshEnables the sub_refresh command without any pre-configured scope.✓
centrifugo:deny-sub-refreshDenies the sub_refresh command without any pre-configured scope.