/**
  * Constructor for the provider.
  *
  * @param string $base_auth_path base authentication path
  */
 public function __construct($base_auth_path)
 {
     $this->id = 'facebook';
     $this->title = __('Facebook', WC_Social_Login::TEXT_DOMAIN);
     $this->strategy_class = 'SVFacebook';
     $this->color = '#3b5998';
     $this->require_ssl = false;
     $this->notices = array('account_linked' => __('Your Facebook account is now linked to your account.', WC_Social_Login::TEXT_DOMAIN), 'account_unlinked' => __('Facebook account was successfully unlinked from your account.', WC_Social_Login::TEXT_DOMAIN), 'account_already_linked' => __('This Facebook account is already linked to another user account.', WC_Social_Login::TEXT_DOMAIN), 'account_already_exists' => __('A user account using the same email address as this Facebook account already exists.', WC_Social_Login::TEXT_DOMAIN));
     parent::__construct($base_auth_path);
 }
 /**
  * Constructor for the provider.
  *
  * @param string $base_auth_path base authentication path
  */
 public function __construct($base_auth_path)
 {
     $this->id = 'yahoo';
     $this->title = __('Yahoo', WC_Social_Login::TEXT_DOMAIN);
     $this->strategy_class = 'SVYahoo';
     $this->color = '#514099';
     $this->require_ssl = false;
     $this->internal_callback = 'oauth2callback';
     $this->notices = array('account_linked' => __('Your Yahoo account is now linked to your account.', WC_Social_Login::TEXT_DOMAIN), 'account_unlinked' => __('Yahoo account was successfully unlinked from your account.', WC_Social_Login::TEXT_DOMAIN), 'account_already_linked' => __('This Yahoo account is already linked to another user account.', WC_Social_Login::TEXT_DOMAIN), 'account_already_exists' => __('A user account using the same email address as this Yahoo account already exists.', WC_Social_Login::TEXT_DOMAIN));
     parent::__construct($base_auth_path);
 }
 /**
  * Constructor for the provider.
  *
  * @param string $base_auth_path base authentication path
  */
 public function __construct($base_auth_path)
 {
     $this->id = 'facebook';
     $this->title = __('Facebook', WC_Social_Login::TEXT_DOMAIN);
     $this->strategy_class = 'Facebook';
     $this->color = '#3b5998';
     $this->require_ssl = false;
     $this->description = sprintf(__('Need help setting up and configuring Facebook? %sRead the docs%s', WC_Social_Login::TEXT_DOMAIN), '<a href="http://docs.woothemes.com/document/woocommerce-social-login-create-social-apps#facebook">', '</a>');
     $this->notices = array('account_linked' => __('Your Facebook account is now linked to your account.', WC_Social_Login::TEXT_DOMAIN), 'account_unlinked' => __('Facebook account was successfully unlinked from your account.', WC_Social_Login::TEXT_DOMAIN), 'account_already_linked' => __('This Facebook account is already linked to another user account.', WC_Social_Login::TEXT_DOMAIN), 'account_already_exists' => __('A user account using the same email address as this Facebook account already exists.', WC_Social_Login::TEXT_DOMAIN));
     parent::__construct($base_auth_path);
 }
 /**
  * Constructor for the provider.
  *
  * @param string $base_auth_path base authentication path
  */
 public function __construct($base_auth_path)
 {
     $this->id = 'google';
     $this->title = __('Google', 'woocommerce-social-login');
     $this->strategy_class = 'SVGoogle';
     $this->color = '#dd4b39';
     $this->internal_callback = 'oauth2callback';
     $this->require_ssl = false;
     $this->notices = array('account_linked' => __('Your Google account is now linked to your account.', 'woocommerce-social-login'), 'account_unlinked' => __('Google account was successfully unlinked from your account.', 'woocommerce-social-login'), 'account_already_linked' => __('This Google account is already linked to another user account.', 'woocommerce-social-login'), 'account_already_exists' => __('A user account using the same email address as this Google account already exists.', 'woocommerce-social-login'));
     parent::__construct($base_auth_path);
 }
 /**
  * Constructor for the provider.
  *
  * @since 1.1.0
  * @param string $base_auth_path base authentication path
  */
 public function __construct($base_auth_path)
 {
     $this->id = 'linkedin';
     $this->title = __('LinkedIn', WC_Social_Login::TEXT_DOMAIN);
     $this->strategy_class = 'LinkedIn';
     $this->color = '#007bb6';
     $this->internal_callback = 'oauth2callback';
     $this->requires_ssl = false;
     $this->notices = array('account_linked' => __('Your LinkedIn account is now linked to your account.', WC_Social_Login::TEXT_DOMAIN), 'account_unlinked' => __('LinkedIn account was successfully unlinked from your account.', WC_Social_Login::TEXT_DOMAIN), 'account_already_linked' => __('This LinkedIn account is already linked to another user account.', WC_Social_Login::TEXT_DOMAIN), 'account_already_exists' => __('A user account using the same email address as this LinkedIn account already exists.', WC_Social_Login::TEXT_DOMAIN));
     parent::__construct($base_auth_path);
     // normalize profile
     add_filter('wc_social_login_' . $this->get_id() . '_profile', array($this, 'normalize_profile'));
 }
 /**
  * Constructor for the provider.
  *
  * @param string $base_auth_path base authentication path
  */
 public function __construct($base_auth_path)
 {
     $this->id = 'twitter';
     $this->title = __('Twitter', 'woocommerce-social-login');
     $this->strategy_class = 'SVTwitter';
     $this->color = '#00aced';
     $this->internal_callback = 'oauth_callback';
     $this->require_ssl = false;
     $this->notices = array('account_linked' => __('Your Twitter account is now linked to your account.', 'woocommerce-social-login'), 'account_unlinked' => __('Twitter account was successfully unlinked from your account.', 'woocommerce-social-login'), 'account_already_linked' => __('This Twitter account is already linked to another user account.', 'woocommerce-social-login'), 'account_already_exists' => __('A user account using the same email address as this Twitter account already exists.', 'woocommerce-social-login'));
     parent::__construct($base_auth_path);
     // normalize profile
     add_filter('wc_social_login_' . $this->get_id() . '_profile', array($this, 'normalize_profile'));
 }
 /**
  * Constructor for the provider.
  *
  * @param string $base_auth_path base authentication path
  */
 public function __construct($base_auth_path)
 {
     $this->id = 'amazon';
     $this->title = __('Amazon', WC_Social_Login::TEXT_DOMAIN);
     $this->strategy_class = 'Amazon';
     $this->color = '#FF9900';
     $this->internal_callback = 'oauth2callback';
     $this->require_ssl = true;
     $this->notices = array('account_linked' => __('Your Amazon account is now linked to your account.', WC_Social_Login::TEXT_DOMAIN), 'account_unlinked' => __('Amazon account was successfully unlinked from your account.', WC_Social_Login::TEXT_DOMAIN), 'account_already_linked' => __('This Amazon account is already linked to another user account.', WC_Social_Login::TEXT_DOMAIN), 'account_already_exists' => __('A user account using the same email address as this Amazon account already exists.', WC_Social_Login::TEXT_DOMAIN));
     parent::__construct($base_auth_path);
     // Update customer's postcode from Amazon
     add_action('wc_social_login_' . $this->id . '_update_customer_billing_profile', array($this, 'update_customer_postcode'), 10, 2);
 }