You are here

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

Constructor.

File

classes/CustomerSetup.php, line 24
Contains miniOrange Customer class.

Class

MiniorangeCustomerSetup
@file This class represents configuration for customer.

Code

public function __construct($email, $phone, $password, $otp_token) {
  $this->email = $email;
  $this->phone = $phone;
  $this->password = $password;
  $this->otpToken = $otp_token;
  $this->defaultCustomerId = MoAuthConstants::$DEFAULT_CUSTOMER_ID;
  $this->defaultCustomerApiKey = MoAuthConstants::$DEFAULT_CUSTOMER_API_KEY;
}