Added a new configuration identitiesCacheEnabled which default to true and enabled switching off caching of merchant secret keys.
We have a multi-tenant use case where secret keys are loaded per tenant and it is possible that:
a merchant makes a mistake and provides an invalid key for the first time and corrects it next time (currently the wrong key is kept in cache)
a key expires and a merchant tries to provide a new one
For these reasons we need the caching mechanism for secret keys that is currently in the SDK to become optional. This pull request should provide this possibility.
Added a new configuration
identitiesCacheEnabled
which default to true and enabled switching off caching of merchant secret keys.We have a multi-tenant use case where secret keys are loaded per tenant and it is possible that:
For these reasons we need the caching mechanism for secret keys that is currently in the SDK to become optional. This pull request should provide this possibility.
Thanks a lot