Table of Contents

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

password ReadOnlySpan<char>

The plaintext, which is read within the call and never retained.

Returns

string

The sentence an operator is answered with, or null when the password is acceptable.

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.