SocialAuth

class SocialAuth
setupGoogle($opts)

Setup Google as a service provider

Parameters:
allowGoogleAccounts($acc)

Create a list of Google accounts which have access to the dashboard

Parameters:
  • $acc (array) – List of Google accounts
allowGoogleDomains()
setupTwitter($opts)

Setup Twitter as a service provider

Parameters:
allowTwitterAccounts($handles)

Create a list of Twitter accounts which have access to the dashboard

Parameters:
  • $handles (array) – List of Twitter handles
setupLinkedIn($opts)

Setup LinkedIn as a service provider

Parameters:
allowLinkedInAccounts($emails)

Create a list of LinkedIn users who have access to the dashboard

Parameters:
  • $emails (array) – List of LinkedIn accounts
allowLinkedInDomains($domains)

Create a list of allowed domains

Parameters:
  • $domains (array) – List of domains
setLoginPageMessages($messages)

Set custom text for different sections in the login page.

Parameters:
getProvider()

returns the current provider

Start building interactive, mobile-friendly Dashboards in PHP. See DemosDownload