class AvalancheMQ::UserStore
- AvalancheMQ::UserStore
 - Reference
 - Object
 
Included Modules
- Enumerable({String, AvalancheMQ::User})
 
Defined in:
avalanchemq/user_store.crConstant Summary
- 
        DIRECT_USER = 
"__direct" 
Constructors
Class Method 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
 - #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)
 
Macro Summary
Constructor Detail
Class Method Detail
Instance Method Detail
Adds a user to the use store
        
        def each(&)
        #
      
      
        
              Description copied from module Enumerable({String, AvalancheMQ::User})
            
          
          Must yield this collection's elements to the block.