Table of Contents

Property PublicClient

Namespace
MailFathom.Infrastructure.Mail.OAuth
Assembly
MailFathom.Infrastructure.dll

PublicClient

Gets or sets whether the application is registered as a public client, which holds no secret.

public bool PublicClient { get; set; }

Property Value

bool

Remarks

A public client authenticates by proving possession of the grant alone, which is the registration Microsoft Entra expects for the device flow and the one mfctl mailbox authorize --public-client produces. It is an explicit setting rather than an inference from a missing reference, because "no secret configured" and "no secret exists" are the same shape and only one of them is safe to accept: inferring it would turn a forgotten reference on a confidential client into a silently unauthenticated token request.