summaryrefslogtreecommitdiff
path: root/lib/Config/ClawsMail/Server.pm
diff options
context:
space:
mode:
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)],