class LavinMQ::User
- LavinMQ::User
- Reference
- Object
Included Modules
Defined in:
lavinmq/password.crlavinmq/user.cr
Constructors
- .new(name : String, password_hash, hash_algorithm, tags : Array(LavinMQ::Tag))
- .new(name : String, password : LavinMQ::User::Password | Nil, tags : Array(LavinMQ::Tag))
- .new(pull : JSON::PullParser)
Class Method Summary
- .create(name : String, password : String, hash_algorithm : String, tags : Array(Tag))
- .create_hidden_user(name)
- .hash_password(password, hash_algorithm)
Instance Method Summary
- #can_config?(vhost, name)
- #can_impersonate?
- #can_read?(vhost, name)
- #can_write?(vhost, name)
- #details_tuple
- #hidden?
- #invalidate_acl_caches
- #name : String
- #password : LavinMQ::User::Password?
- #permissions : Hash(String, {config: Regex, read: Regex, write: Regex})
- #permissions_details(vhost, p)
- #permissions_details
- #plain_text_password : String?
- #plain_text_password=(plain_text_password : Nil | String)
- #remove_queue_from_acl_caches(vhost, name)
- #tags : Array(LavinMQ::Tag)
- #tags=(tags : Array(LavinMQ::Tag))
- #update_password(password, hash_algorithm = "sha256")
- #update_password_hash(password_hash, hash_algorithm)
- #user_details