The Profile Providers Interface
The profile providers interface maintains a list of all the profile provider instances.
There is only one profile providers interface and it can always be found at jancy.profileProviders
.
Methods
profileProviders.createProvider(factory, state)
factory
(Profile provider factory object
)state
(any
)
Create a profile provider
using the provided factory
and state
.
profileProviders.saveProvider(provider)
provider
(Profile provider instance
)
Saves the given provider
.
Example
For an example of a working profile provider please see our example GitHub repo here.