Baguette::Configuration::Auth

rewrite
Karchnu 2020-10-23 16:30:35 +02:00
parent 9a921b6ac7
commit 43668b8e5d
1 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,18 @@ require "./authd.cr"
extend AuthD
# Allows get configuration from a provided file.
# See Baguette::Configuration::Base.get
class Baguette::Configuration::Auth < Baguette::Configuration::Base
include YAML::Serializable
property login : String?
property pass : String?
property shared_key : String?
property shared_key_file : String?
end
class AuthD::Service
property registrations_allowed = false
property require_email = false