Method FindRefusal
- Namespace
- MailFathom.Application.Access.Credentials
- Assembly
- MailFathom.Application.dll
FindRefusal(ReadOnlySpan<char>)
Reports why a password cannot be stored, or that it can.
public static string? FindRefusal(ReadOnlySpan<char> password)
Parameters
passwordReadOnlySpan<char>The plaintext, which is read within the call and never retained.
Returns
Remarks
The message says what the rule is and never what was written, so a refusal reaching a log, a terminal, or an HTTP response carries no part of the password — not its length, not the character that was refused, not a fragment of it.