Skip to content

Extensions support

Compare
Choose a tag to compare
@justinsa justinsa released this 07 May 20:48
· 4 commits to master since this release

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.