class LavinMQ::User

Included Modules

Defined in:

lavinmq/password.cr
lavinmq/user.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module LavinMQ::SortableJSON

details_tuple details_tuple, to_json(json : JSON::Builder) to_json

Constructor Detail

def self.new(name : String, password_hash, hash_algorithm, tags : Array(LavinMQ::Tag)) #

[View source]
def self.new(name : String, password : LavinMQ::User::Password | Nil, tags : Array(LavinMQ::Tag)) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.create(name : String, password : String, hash_algorithm : String, tags : Array(Tag)) #

[View source]
def self.create_hidden_user(name) #

[View source]
def self.hash_password(password, hash_algorithm) #

[View source]

Instance Method Detail

def can_config?(vhost, name) #

[View source]
def can_impersonate? #

[View source]
def can_read?(vhost, name) #

[View source]
def can_write?(vhost, name) #

[View source]
def details_tuple #

[View source]
def hidden? #

[View source]
def invalidate_acl_caches #

[View source]
def name : String #

[View source]
def password : LavinMQ::User::Password? #

[View source]
def permissions : Hash(String, {config: Regex, read: Regex, write: Regex}) #

[View source]
def permissions_details(vhost, p) #

[View source]
def permissions_details #

[View source]
def plain_text_password : String? #

[View source]
def plain_text_password=(plain_text_password : Nil | String) #

[View source]
def remove_queue_from_acl_caches(vhost, name) #

[View source]
def tags : Array(LavinMQ::Tag) #

[View source]
def tags=(tags : Array(LavinMQ::Tag)) #

[View source]
def update_password(password, hash_algorithm = "sha256") #

[View source]
def update_password_hash(password_hash, hash_algorithm) #

[View source]
def user_details #

[View source]