You are here

public function MiniorangeCustomerProfile::__construct in Google Authenticator / 2 Factor Authentication - 2FA 7

Constructor.

File

classes/CustomerProfile.php, line 22
Contains constants class.

Class

MiniorangeCustomerProfile
@file This class represents User Profile.

Code

public function __construct() {
  $this->customer_id = variable_get('mo_auth_customer_id', '');
  $this->registered_email = variable_get('mo_auth_customer_admin_email', '');
  $this->api_key = variable_get('mo_auth_customer_api_key', '');
  $this->token_key = variable_get('mo_auth_customer_admin_token', '');
  $this->app_secret = variable_get('mo_auth_customer_app_secret', '');
  $this->registered_phone = variable_get('mo_auth_customer_admin_phone', '');
}