<PackageReference Include="Microsoft.Identity.Client" Version="4.87.0" />

Microsoft.Identity.Client.Internal.Logger.TokenScrubber

static class TokenScrubber
Redacts opaque tokens that eSTS/CCS have tagged with a Highly Identifiable Token (HIT) tag from MSAL's own log output before the text reaches any logging sink.
public static string Scrub(string message)

Redacts any HIT-tagged opaque tokens found in message.