class
   LavinMQ::UserStore
 
  - LavinMQ::UserStore
 - Reference
 - Object
 
Included Modules
- Enumerable({String, LavinMQ::User})
 
Defined in:
lavinmq/user_store.crConstant Summary
- 
        DIRECT_USER = 
"__direct" - 
        Log = 
LavinMQ::Log.for("user_store") 
Constructors
Class Method Summary
Macro Summary
Instance Method Summary
- #add(name, password_hash, password_algorithm, tags = Array(Tag).new, save = true)
 - #add_permission(user, vhost, config, read, write)
 - 
        #create(name, password, tags = Array(Tag).new, save = true)
        
          
Adds a user to the use store
 - #default_user : User
 - #delete(name, save = true) : User | Nil
 - #direct_user
 - 
        #each(&)
        
          
Must yield this collection's elements to the block.
 - #rm_permission(user, vhost)
 - #rm_vhost_permissions_for_all(vhost)
 - #save!
 - #to_json(json : JSON::Builder)
 
Constructor Detail
Class Method Detail
Macro Detail
Instance Method Detail
Adds a user to the use store
        
        def each(&)
        #
      
      
        
              Description copied from module Enumerable({String, LavinMQ::User})
            
          
          Must yield this collection's elements to the block.