Table of Contents

Method IsAcceptedName

Namespace
MailFathom.Infrastructure.Security.ClientCertificates
Assembly
MailFathom.Infrastructure.dll

IsAcceptedName(string?)

Reports whether a configured value may name a profile.

public static bool IsAcceptedName(string? configuredValue)

Parameters

configuredValue string

The bound name.

Returns

bool

true when the value is an accepted name; otherwise false.

Remarks

The accepted characters are narrow for the reason SecretName gives: the name reaches a log line and an audit record, where escaping or truncation must not be what decides its meaning.