From 1bf530f7e72cf15c5b2b159047c8c561736064ee Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 30 Jan 2026 13:06:27 +0100 Subject: [PATCH] Add EnvelopeClaimTypes for custom envelope claim strings Introduced EnvelopeGenerator.GeneratorAPI namespace and EnvelopeClaimTypes static class. Added Title and Id claim type constants for envelope-related information, with XML documentation for clarity. --- .../EnvelopeClaimTypes.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 EnvelopeGenerator.GeneratorAPI/EnvelopeClaimTypes.cs diff --git a/EnvelopeGenerator.GeneratorAPI/EnvelopeClaimTypes.cs b/EnvelopeGenerator.GeneratorAPI/EnvelopeClaimTypes.cs new file mode 100644 index 00000000..6414da9c --- /dev/null +++ b/EnvelopeGenerator.GeneratorAPI/EnvelopeClaimTypes.cs @@ -0,0 +1,18 @@ +namespace EnvelopeGenerator.GeneratorAPI +{ + /// + /// Provides custom claim types for envelope-related information. + /// + public static class EnvelopeClaimTypes + { + /// + /// Claim type for the title of an envelope. + /// + public static readonly string Title = $"Envelope{nameof(Title)}"; + + /// + /// Claim type for the ID of an envelope. + /// + public static readonly string Id = $"Envelope{nameof(Id)}"; + } +}