Property Password
- Namespace
- MailFathom.Infrastructure.Mail
- Assembly
- MailFathom.Infrastructure.dll
Password
Gets or sets the reference to the mailbox password or app password, absent when the account authenticates with an access token.
public ConfiguredSecret? Password { get; set; }
Property Value
Remarks
The block is nullable and defaults to absent rather than to an empty block. Secret discovery walks the bound options graph by type and resolves every ConfiguredSecret it finds, so an empty block left here by default would be discovered for an account that configures no password on purpose and fail startup with an unresolvable reference the operator never wrote. That an account permitting a password mechanism does configure one is settled by the account's own validation, which reads the permitted mechanisms rather than the presence of this block.