The Profile Provider Factories Interface
The profile provider factories interface maintains a collection of all the registered profile provider factory objects in the system.
A profile provider factory object provides a standard interface that gives Jancy the ability to create profile providers.
There is only one profile provider factories interface and it can always be found at jancy.profileProviderFactories
.
Methods
profileProviderFactories.addFactory(factory)
factory
(Profile provider factory object
)
Adds a factory object to the system.
profileProviderFactories.removeFactory(factoryId)
factoryId
(string
)
Removes a factory object from the system.
Example
For an example of a working profile provider please see our example GitHub repo here.