The idea is to de-correlate identity providers storage from the rest of the application.
A Samly.IdpDataStore.Store behaviour was created, as well as a default implementation Samly.IdpDataStore.Config that does exactly the same as before (read from configuration).
A new configuration option was added to customize the IdP storage module to be used:
This is intended as a first step towards dynamic IdP data storage. Next step will be to try another implementation and check if Samly's public interface provides all functions needed.
The idea is to de-correlate identity providers storage from the rest of the application. A
Samly.IdpDataStore.Store
behaviour was created, as well as a default implementationSamly.IdpDataStore.Config
that does exactly the same as before (read from configuration). A new configuration option was added to customize the IdP storage module to be used:If not provided, the default one will be used.
This is intended as a first step towards dynamic IdP data storage. Next step will be to try another implementation and check if Samly's public interface provides all functions needed.