Table of Contents

Method TryRead

Namespace
MailFathom.Domain.Access
Assembly
MailFathom.Domain.dll

TryRead(string?, out UserCredentialLogin)

Reads a typed login into its two canonical halves.

public static bool TryRead(string? written, out UserCredentialLogin login)

Parameters

written string

The login as the credential carried it, or null when none was supplied.

login UserCredentialLogin

The login when the written form is usable; otherwise the unspecified default.

Returns

bool

true when both halves are ones this deployment accepts.