DEVELOPER CENTER
...
JavaScript
Libraries
$pinc.auth
3min
- $pinc
- $pinc.oauth
- pinc.auth.min (includes the dependencies)
The primary function of this module is to check all supported authentication providers and provide a session state and profile to work with.
- Auto Login - This task happens when the page is loaded and results in a callback to one of the following... data-on-logged-in data-on-logged-out
- Profile Retrieval - This happens internally if the Auto Login senses that there is some cached profile.
- Profile Mapping - If the Profile Retrieval is successful, the module maps the profile into 5 common properties and assigns the rest to $pinc.auth.profile .