class

LavinMQ::Auth::User

Inherits LavinMQ::SortableJSON < LavinMQ::Auth::BaseUser < Reference < Object

Constants

Log = LavinMQ::Log.for("user")

Constructors

new(name : String, password_hash, hash_algorithm, tags : Array(LavinMQ::Tag))
Source
new(name : String, password : LavinMQ::Auth::Password | Nil, tags : Array(LavinMQ::Tag))
Source

Class methods

create(name : String, password : String, hash_algorithm : String, tags : Array(Tag))
Source
create_hidden_user(name)
Source
hash_password(password, hash_algorithm)
Source

Instance methods

hidden?
Source
name
Source
password
Source
permissions
Source
permissions_details
Source
plain_text_password
Source
plain_text_password=(plain_text_password : Nil | String)
Source
tags
Source
tags=(tags : Array(Tag))
Source
update_password(password, hash_algorithm = "sha256")
Source
update_password_hash(password_hash, hash_algorithm)
Source
user_details
Source

Nested types