refactor(Receiver): TotpSecretkey und TotpExpiration Eigenschaften zu Entity und DTOs hinzugefügt.

This commit is contained in:
Developer 02
2024-12-10 11:09:25 +01:00
parent 85c33eb0f8
commit 88d01e4ac7
4 changed files with 12 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ using System.Text;
namespace EnvelopeGenerator.Application.DTOs.Receiver
{
public record ReceiverCreateDto([EmailAddress] string EmailAddress)
public record ReceiverCreateDto([EmailAddress] string EmailAddress, string? TotpSecretkey = null, DateTime? TotpExpiration = null)
{
public string Signature => sha256HexOfMail.Value;