You are here

public function MiniorangeOAuthCustomer::__construct in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 7

Constructor.

File

includes/customer_setup.php, line 32
Contains miniOrange Customer class.

Class

MiniorangeOAuthCustomer
@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 = "16555";
  $this->defaultCustomerApiKey = "fFd2XcvTGDemZvbw1bcUesNJWEqKbbUq";
}