Table of Contents

Property PermittedAuthenticationMechanisms

Namespace
MailFathom.Infrastructure.Mail
Assembly
MailFathom.Infrastructure.dll

PermittedAuthenticationMechanisms

Gets or sets the SASL mechanisms the account may authenticate with.

public List<string> PermittedAuthenticationMechanisms { get; set; }

Property Value

List<string>

Remarks

The list is an unordered allow-list: the adapter removes every other mechanism from the server's advertised set and lets the client pick the strongest mechanism that survives, so listing a weaker mechanism first does not make it preferred. When it is omitted, the post-binding default in EffectivePermittedAuthenticationMechanisms applies. That default must not be a property initializer, because the configuration binder appends bound entries to an existing list, which would silently keep the default mechanisms permitted alongside the configured ones.