Introduce a new feature allowing users to open URLs for receiver envelopes directly from the sender page. This includes: - Injecting `EnvelopeReceiverService` in `SenderPage.razor`. - Adding a UI button to open receiver envelope URLs. - Implementing `OpenReceiverEnvelopeUrlAsync` for URL handling. - Extending `EnvelopeReceiverService` with methods for URL retrieval and feature check. - Updating `EnvelopeReceiverController` with new endpoints for URL access. - Introducing `SenderFeatureAccessOptions` for managing feature access. - Configuring feature access in `Program.cs` and `appsettings.json`. - Restricting feature usage to specified email addresses.
9 lines
235 B
C#
9 lines
235 B
C#
namespace EnvelopeGenerator.Server.Options;
|
|
|
|
public sealed class SenderFeatureAccessOptions
|
|
{
|
|
public const string SectionName = "SenderFeatureAccess";
|
|
|
|
public List<string> AllowedReceiverEnvelopeUrlEmails { get; set; } = [];
|
|
}
|