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

Microsoft.Identity.Client.Internal.JsonWebToken

class JsonWebToken
namespace Microsoft.Identity.Client.Internal { internal class JsonWebToken { public const long JwtToAadLifetimeInSeconds = 600; public JsonWebToken(ICryptographyManager cryptographyManager, string clientId, string audience); public JsonWebToken(ICryptographyManager cryptographyManager, string clientId, string audience, IDictionary<string, string> claimsToSign, bool appendDefaultClaims = false); public JsonWebToken(ICryptographyManager cryptographyManager, string clientId, string audience, string claimsToSignJson, bool appendDefaultClaims = false); public string Sign(X509Certificate2 certificate, bool sendX5C, bool useSha2AndPss); } }