namespace EnvelopeGenerator.Application.Configurations { public class EnvelopeReceiverCacheParams { /// /// Gets the cache key format for SMS codes. /// The placeholder {0} represents the envelopeReceiverId. /// public string CodeCacheKeyFormat { get; init; } = "sms-code-{0}"; /// /// Gets the cache expiration key format for SMS codes. /// The placeholder {0} represents the envelopeReceiverId. /// public string CodeExpirationCacheKeyFormat { get; init; } = "sms-code-expiration-{0}"; public TimeSpan CodeCacheValidityPeriod { get; init; } = new(0, 5, 0); } }