website logo
⌘K
GETTING STARTED
Getting started with Pathfix
Introduction
OAuth Connect Page
Custom Redirect Domain
Monitoring Activity
Workspace
Extensions
Security
Notifications
Event Callback
Scopes
Provider reference
Access tokens
SDK's
BUBBLE.IO INTEGRATION
Bubble.io Documentation
ADALO INTEGRATION
Adalo Documentation
Adalo User Authorization
Adalo API Call
DEVELOPER CENTER
Developer center
Pathfix Consent Screen (preview)
Module dependencies
Step-by-Step
General
JavaScript
PROVIDER SETUP DOCS
Integration Setup Docs
Identity Auth
Integrating with Airtable
Integrating with Box
Integrating with Hubspot
Integrating with GitHub
Integrating with Google Tasks
Integrating with Instagram Graph API
Integrating with LinkedIn
Integrating with Pipedrive
Integrating with Quickbooks
Integrating with Stripe
Integrating with Stripe-Server
Integrating with Slack
Integrating with TikTok
Integrating with Typeform
Integrating with WooCommerce
Integrating with Xero
Integrating with Zoom
Docs powered by archbee 
6min

$pinc.auth

Dependencies

  • $pinc
  • $pinc.oauth

Script module

  • pinc.auth.min (includes the dependencies)

What does it do?

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 .





Updated 19 Oct 2020
Did this page help you?
Yes
No
UP NEXT
Properties
Docs powered by archbee 
TABLE OF CONTENTS
Dependencies
Script module
What does it do?