summaryrefslogtreecommitdiff
path: root/lib/Config/ClawsMail/Server.pm
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2023-09-14 11:51:09 +0100
committerGianni Ceccarelli <gianni.ceccarelli@broadbean.com>2023-09-14 11:51:09 +0100
commit20018db773f4a110433ff6ae00fc8932c75d9973 (patch)
tree52f302ec4a1165db398d7129526ab38e1853ab16 /lib/Config/ClawsMail/Server.pm
parentadd XOAUTH2 support (diff)
downloadconfig-clawsmail-20018db773f4a110433ff6ae00fc8932c75d9973.tar.gz
config-clawsmail-20018db773f4a110433ff6ae00fc8932c75d9973.tar.bz2
config-clawsmail-20018db773f4a110433ff6ae00fc8932c75d9973.zip
pull auth mechanism from config
Diffstat (limited to 'lib/Config/ClawsMail/Server.pm')
-rw-r--r--lib/Config/ClawsMail/Server.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Config/ClawsMail/Server.pm b/lib/Config/ClawsMail/Server.pm
index 80338ba..f058a5a 100644
--- a/lib/Config/ClawsMail/Server.pm
+++ b/lib/Config/ClawsMail/Server.pm
@@ -2,7 +2,7 @@ package Config::ClawsMail::Server;
use v5.26;
use Moo;
# VERSION
-use Types::Standard qw(Str Enum);
+use Types::Standard qw(Str Enum ArrayRef);
use namespace::clean;
# ABSTRACT: Claws-Mail send/receive server
@@ -18,6 +18,11 @@ has [qw(user_id password)] => (
isa => Str,
);
+has 'auth_methods' => (
+ is => 'ro',
+ isa => ArrayRef[Str],
+);
+
has ssl => (
is => 'ro',
isa => Enum[qw(no ssl starttls)],