class

LavinMQ::MQTT::PermissionGroup

Inherits JSON::Serializable < Reference < Object

Constants

DEFAULT_NAME = "default"
IDENTIFIER_PATTERN = /\A[A-Za-z0-9-]+\z/

Rule identifiers make individual rules addressable in the HTTP API.

NAME_PATTERN = /\A[A-Za-z0-9_-]{1,255}\z/

Group names travel in URL paths; the charset keeps them unambiguous there.

Constructors

default(vhost : String) : self

The group every vhost gets until somebody configures it: every user may read and write every topic.

Source
new(name : String, vhost : String, members : Array(String) = Array(String).new, rules : Array(LavinMQ::MQTT::PermissionGroup::Rule) = Array(Rule).new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

members
Source
name
Source
rules
Source
validate!
Source
vhost
Source

Nested types