Extensions support
Support for implementors to add extensions (properties) to the $authentication service API that are application specific and should fall within the context of the $authentication service (e.g., functions to check if a profile has specific roles). All properties (own and inherited) of the extensions object are made available as native to the $authentication service API. The extensions object is applied using the _.defaults(...) method and cannot overwrite any of the existing API properties.