-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
To offer more control to developers on how cookie duration is managed based on user consent, is it possible to allow cookieExpiresAfterDays
to be a function ?
This function could take 2 arguments:
consents
: https://github.com/empreinte-digitale/orejime/blob/61612c70d9d41b6b2b0bd9ef27d453428f424c39/src/consent-manager.js#L6config
: https://github.com/empreinte-digitale/orejime/blob/61612c70d9d41b6b2b0bd9ef27d453428f424c39/src/consent-manager.js#L5
Motivations
I'm working with orejime
on general public websites which requires this kind of behavior especially for users who click decline on Notice or decline all on Modal. It is a pure business needs but it gives more control than a static value.
Metadata
Metadata
Assignees
Labels
No labels