UrlSignerBundle icon indicating copy to clipboard operation
UrlSignerBundle copied to clipboard

Default expiration format in other than days

Open norkunas opened this issue 3 years ago • 2 comments

Description There is no way to configure expiration in another format than days. I've found that spatie/url-signer supports providing expiration as DateTime instance.

Example N/A

norkunas avatar Apr 21 '22 15:04 norkunas

You can specify a DateTime when you sign the URL. Would it be really useful to have it for the default expiration too?

alanpoulain avatar Apr 21 '22 17:04 alanpoulain

Then it would not require me to pass it everywhere :) also it's a little bit unfortunate that it's not possible to provide immutable datetime :)

norkunas avatar Apr 22 '22 03:04 norkunas