italia / eudi-wallet-it-python

Python toolchain for building an OpenID4VP RP with a SATOSA backend compliant with the Italian Wallet implementation profile
Apache License 2.0
16 stars 8 forks source link

[Feat/retention rule] Added ttl rule for sessions #218

Closed PascalDR closed 6 months ago

PascalDR commented 6 months ago

This PR is relative to issue 33 and adds the ttl rule to the session collection on mongo storage class.

PascalDR commented 6 months ago

I made some quick changes in the form of suggestion to be merged by you @PascalDR

at the same time I expect to have in this PR also the settings parameter in the storage section where the ttl value can be configured as well

@peppelinux the setting parameter is handled here.

Do you want the parameter added to the example configuration?

peppelinux commented 6 months ago

Si @PascalDR