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

Microsoft.Identity.Client.PlatformsCommon.Shared.DeviceAuthHelper

public static bool CanOSPerformPKeyAuth()

public static string GetBypassChallengeResponse(HttpResponseHeaders responseHeaders)

Constructs a bypass response to the PKeyAuth challenge on platforms where the challenge cannot be completed.

public static string GetBypassChallengeResponse(Dictionary<string, string> response)

Constructs a bypass response to the PKeyAuth challenge on platforms where the challenge cannot be completed.

public static bool IsDeviceAuthChallenge(HttpResponseHeaders responseHeaders)

public static IDictionary<string, string> ParseChallengeData(HttpResponseHeaders responseHeaders)