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

Microsoft.Identity.Client.Extensibility.ExecutionResult

public class ExecutionResult
Represents the result of a token acquisition attempt. Used by the execution observer configured via OnCompletion.

The certificate used for authentication, if certificate-based authentication was used.

public MsalException Exception { get; }

The exception that occurred if the token acquisition failed.

public AuthenticationResult Result { get; }

The authentication result if the token acquisition was successful.

public bool Successful { get; }

Indicates whether the token acquisition was successful.