public function MiniorangeCustomerSetup::__construct in Google Authenticator / 2 Factor Authentication - 2FA 8.2
Same name and namespace in other branches
- 8 src/MiniorangeCustomerSetup.php \Drupal\miniorange_2fa\MiniorangeCustomerSetup::__construct()
Constructor.
File
- src/
MiniorangeCustomerSetup.php, line 25 - Contains miniOrange Customer class.
Class
- MiniorangeCustomerSetup
- @file This class represents configuration for customer.
Namespace
Drupal\miniorange_2faCode
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;
}