From 31fe1c34f2d3915d3fd07fe0261e3d5aebf4b3e4 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 2 Feb 2026 15:13:10 +0100 Subject: [PATCH] Remove GetClaimValue extension from EnvelopeAuthExtensions The GetClaimValue method, which delegated to GetRequiredClaim for retrieving claim values by type, has been removed from the EnvelopeAuthExtensions class. Other functionality in the class remains unchanged. --- .../Extensions/EnvelopeAuthExtensions.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/EnvelopeGenerator.API/Extensions/EnvelopeAuthExtensions.cs b/EnvelopeGenerator.API/Extensions/EnvelopeAuthExtensions.cs index 054677a0..d19ec95f 100644 --- a/EnvelopeGenerator.API/Extensions/EnvelopeAuthExtensions.cs +++ b/EnvelopeGenerator.API/Extensions/EnvelopeAuthExtensions.cs @@ -27,14 +27,6 @@ public static class EnvelopeAuthExtensions throw new InvalidOperationException(message); } - /// - /// Retrieves a claim value by type. - /// - /// The current claims principal. - /// The claim type to resolve. - /// The claim value. - public static string GetClaimValue(this ClaimsPrincipal user, string claimType) => user.GetRequiredClaim(claimType); - /// /// Gets the authenticated envelope UUID from the claims. ///